I am trying to use springdoc-openapi-ui
in a Spring Boot project where @GetMapping(path = "**")
is necessary (I have to use **
, no way to avoid it). I went through many issues and discussion but I still can achieve only two situations:
swagger-ui.html
redirects correctly to/swagger-ui/index.html
but that ends up in**
./swagger-ui/index.html
works but other requests fail 404 (by registering webjars withResourceHandlerRegistry
)
The desirable state is when /example
falls to **
but /swagger-ui.html
, /swagger-ui/index.html
, and /v3/api-docs/swagger-config
works as it should with springdoc-openapi-ui
.
I created a simplified project for this issue: https://github.com/MarekSuchanek/spring-boot-openapi-test
Any hints/experience on this please?