-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
404 response on /swagger-ui.html #1887
Comments
You using wrong version... |
Can you check again my repository? If i start the project with my ide (IntelliJ) then swagger-ui is working. When i load to http://localhost:8080/swagger-ui.html spring redirects me to /swagger-ui/index.html and shows an error 404. Did i anything wrong? |
I believe you are still missing additional configuration. springdoc.enable-native-support=true Just try with this one, and let me know :) I already explained it here: #1284 (comment) |
Okay that's working. But now i get an exception from api call /v3/api-docs Is their anything wrong with my operation annotation?
|
Not reproducible with your sample. Tested on macOS/ Apple M1. Try building your native image in a different platform. |
@bnasslahsen Or with an other way? |
using: ./gradlew nativeCompile |
Hi,
Please guide |
Maybe this helps: #2204 (comment) |
Describe the bug
Hey Guys,
i'm testing the springdoc-openapi-ui with springdoc-openapi-native and spring with native build.
But when i try to access swagger-ui with /swagger-ui.html then spring respond with an 404 page.
To Reproduce
Clone and start this spring project
https://github.com/bitbaggi/test-spring-docs-native
Visit http://localhost:8080/swagger-ui.html
Expected behavior
Swagger-UI opens with this url
The text was updated successfully, but these errors were encountered: