springfox-demos icon indicating copy to clipboard operation
springfox-demos copied to clipboard

boot-swaggerSwagger docs endpoint: (http://localhost:8080/springfox/v2/api-docs) gives a 404

Open marceloverdijk opened this issue 8 years ago • 2 comments

boot-swagger demo's Swagger docs endpoint: (http://localhost:8080/springfox/v2/api-docs) gives a 404.

Other urls:

  • All Swagger Resources(groups) http://localhost:8080/springfox/swagger-resources
  • Swagger UI endpoint: http://localhost:8080/springfox/swagger-ui.html do give back expected results.

I found this out as I have the same problem in my own app. Note that boot-static-docss Swagger docs endpoint does work.

marceloverdijk avatar Apr 05 '16 14:04 marceloverdijk

I think the url in the docs is not valid as it should contain the group like: http://localhost:8080/springfox/v2/api-docs?group=full-petstore-api

marceloverdijk avatar Apr 05 '16 14:04 marceloverdijk

yes.. this project needs some love. Thanks for pointing that out

dilipkrish avatar Apr 05 '16 14:04 dilipkrish