My company have an app that uses Spring Boot 3.3 and can't be updated to 3.4. I had to change the version of org.webjars:swagger-ui
to 5.20.7, but I can't access the swagger anymore. The error is:
No static resource swagger-ui/index.html
I use springdoc-openapi-starter-webmvc-ui
2.6.0, that is the latest compatible with Spring Boot 3.3 and, according to mvnrepository, is compatible with org.webjars:swagger-ui
up to 5.21.0:
https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-webmvc-ui/2.6.0
It seems that the only (ugly) solution is to access directly the swagger at the URL:
yourhost:XXXX/swagger-ui/5.20.7/index.html
Please let me know if there's a cleaner solution.