Closed
Description
Describe the bug
In a Spring Boot 3.4.4 application with springdoc-openapi 2.8.4 I get the following unexpected warning message in the log when starting the application:
WARN o.s.w.r.resource.ResourceHandlerUtils : Appended trailing slash to static resource location: classpath:/META-INF/resources/webjars/swagger-ui/5.18.2/
To Reproduce
Steps to reproduce the behavior:
- create a Spring Boot app with spring-webflux
- add springdoc-openapi 2.8.4 to the dependencies
- create a minimal RestController with a hello world
@GetMapping
- Method - run the application
Expected behavior
- no warning message 'Appended trailing slash' in the log
Additional context
- 2.8.4 is the first springdoc-openapi version in which the warning message appears.
- The warning message also appears in the current springdoc-openapi version 2.8.6
- This is also mentioned in #2878 , but this bug was closed, probably because it mainly refers to the path handling change introduced by #2862 which appears to be intended. Most probably the warning is also related to #2862 .
- I could provide a minimal example if it was helpful for analysis.