-
-
Notifications
You must be signed in to change notification settings - Fork 468
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
No static resource swagger-ui/index.html with springdoc 2.4.0 #2528
Comments
Not reproducible. This ticket will be closed, but can be reopened if your provide the reproducible sample. |
@bnasslahsen I'm experiencing the same Problem with SpringBoot 3.2.4 and SpringDoc 2.4.0. The I've built a minimum example demonstrating the issue, here: https://github.com/madduci/springdoc-springboot-bug The bug occurs with Java 17 and Java 21 on Windows 10 with Maven 3.9.6 |
Hi @bnasslahsen . Can the issue be reopened as an example as been provided demonstrating the problem ? |
Argh, you mean with the provided sample, you do not reproduce ? |
interesting. What is your environment (OS / Maven / JDK version)? I can consistently reproduce the error on my Windows 10 machine |
@bnasslahsen , given the differences depending on the OS in the posts above, we tested with our own application, running on docker compose locally, wth springdoc 2.4.0 :
Do you have the ability to test on Linux or Windows ? |
It's all deployed on Linux https://springdoc.org/#demos |
OK 🤔 |
Update: with the 2.5.0 Version, it works for me again! Thank you @bnasslahsen |
Describe the bug
On our project, when upgrading from springdoc 2.3.0 to 2.4.0, access to swagger becomes broken.
Using URL http://localhost:8080/swagger-ui/index.html :
Stack trace :
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Additional context
It may be related to problems on swagger-ui 5.11.8 (issue) but the description of the problem is different.
The text was updated successfully, but these errors were encountered: