-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with new "api-docs" path to the documentation description #113
Comments
Hi @vbauer, two things for you to do when upgrading (and i need to make an upgrade guide)...
The new version will automatically put your documentation under /api-docs.json/{path} instead of "eating" the GET method on /{path} |
Many thanks for rapidly answer!
But it doesn't work, I have the same problem.. The result of root documentation request:
And yes, at now request to the service documentation returns error: |
Can you join #swagger on irc.freenode.net? Something is odd, we should see .{format} in the path for each api:
should be
unless you wrote a bootstrap servlet to set the format string to "" |
Yes, I wrote bootstrap servlet to set the format string to "" |
ok, that should be no problem then (it's one of our samples). Can you hit the resources directly? Like this:
|
HTTP ERROR 404 Problem accessing /rest/api-docs/tags. Reason: Not Found And the same situation with all services |
Everything is fine if do the same things as there: |
I have an application which has worked good with old version of swagger-ui (1.3), but after updating to 1.7 I have a problems with UI availability:
GET http://localhost:8080/rest/api-docs/auth?api_key=special-key 404 Not Found
GET http://localhost:8080/rest/api-docs/tags?api_key=special-key 404 Not Found
...
Summary:
It seems for me, that Swagger UI uses incorrect URL to get rest services:
http://localhost:8080/rest/api-docs/... instead of http://localhost:8080/rest/...
When I try to open service documentation manually it works fine:
GET http://localhost:8080/rest/auth?api_key=special-key - 200 OK
Additional information:
web.xml config:
Many thanks for any useful information!
The text was updated successfully, but these errors were encountered: