GithubHelp home page GithubHelp logo

Comments (6)

BoinaRamesh avatar BoinaRamesh commented on August 24, 2024

@dilipkrish Please can you help on this issue.

from springfox-demos.

dilipkrish avatar dilipkrish commented on August 24, 2024

You should be able to access it using http://localhost:8130/swagger-ui.html Also would be great if you used 2.9.2 which is the latest version as of this moment

from springfox-demos.

BoinaRamesh avatar BoinaRamesh commented on August 24, 2024

@dilipkrish I have tried using following url http://localhost:8130/swagger-ui.html but i got below error from web page.
No web page was found for the web address: http://localhost:8130/swagger-ui.html
Note: I have updated to 2.9.2 version as well.
I have defined my context path in applications.properties. so, tryied using my context path url then it showing 400 error like above.

from springfox-demos.

dilipkrish avatar dilipkrish commented on August 24, 2024

how did u set the port to 8130? are u sure its serving on that port?

from springfox-demos.

BoinaRamesh avatar BoinaRamesh commented on August 24, 2024

@dilipkrish I have defined server.port=8130 in application.properties file.

from springfox-demos.

davidtsaigittest avatar davidtsaigittest commented on August 24, 2024

@dilipkrish I also got HttpStatus 400 after I set host by new Docket().host() manually in my springfox configuration file.
As I click the try it out button, then I check the development kit in browser, swagger-ui send an empty request body to the backend. But the curl command generated by swagger-ui contains the request body and it works.
Do I miss something?

from springfox-demos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.