You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From v2.1.0, webjars-locator-core was removed, WebJarsResourceResolver insteads by SwaggerResourceResolver. Looks like SwaggerResourceResolver isn't implemented right.
Describe the bug
webjars subdirectory resource 404 found after using springdoc
To Reproduce
spring-boot 3.1.2
springdoc-openapi-starter-webflux-ui 2.2.0
http://localhost:8087/webjars/swagger-ui/swagger-ui.css It is ok
springdoc The request path was changed to match the version number
org.springdoc.webflux.ui.SwaggerResourceResolver::resolveResource -> org.springdoc.ui.AbstractSwaggerResourceResolver::findWebJarResourcePath
swagger-ui/index.html -> swagger-ui\5.2.0\index.html
<img width="817" alt="微信截图_20230817134218" src="">
Other Jar resources
http://localhost:8087/webjars/aa/bb.html 404
aa/bb.html -> aa/5.2.0/bb.html
It is recommended that the path starting with swagger-ui be processed
The text was updated successfully, but these errors were encountered: