-
-
Notifications
You must be signed in to change notification settings - Fork 548
Open
Description
Describe the bug
I was trying to customize the css of swagger-ui by your comment: #951 (comment)
But it only loaded the swagger html files if the folder was META-INF/resources/webjars/swagger-ui/5.28.1
I find it weird since this is just html/css/js files with no indicators of version
To Reproduce
- What version of spring-boot you are using? 3.5.6 w/ kotlin & webflux
- What modules and versions of springdoc-openapi are you using? starter-webflux-ui 2.8.13
Steps to reproduce the behavior:
in build.gradle.kts
dependencies {
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.8.13") {
exclude(module = "swagger-ui")
}
}
Download the swagger-ui webjar or the swagger-ui dist files and put them inside src/main/resources/META-INF/resources/webjars/swagger-ui/
Expected behavior
The files load even without the version folder
Metadata
Metadata
Assignees
Labels
No labels