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
What is the actual and the expected result using OpenAPI Description (yml or json)?
Provide with a sample code (HelloController) or Test that reproduces the problem
Expected behavior
No warn logs are produced when using default springdoc with spring-boot.
Alternatively, provide a configuration option for changing swagger-ui to another path to avoid the warning. As far as I can tell, swagger-ui is hard-coded in org.springdoc.core.utils.Constants#SWAGGER_UI_PREFIX, so I can't change it to avoid the warning.
The text was updated successfully, but these errors were encountered:
Describe the bug
The default swagger-ui location produces a warning in spring-boot 3.0.6 when it is served on an actuator endpoint.
To Reproduce
Steps to reproduce the behavior:
Start a spring boot app with swagger-ui exposed on the actuator endpoint:
Expected behavior
No warn logs are produced when using default springdoc with spring-boot.
Alternatively, provide a configuration option for changing
swagger-ui
to another path to avoid the warning. As far as I can tell,swagger-ui
is hard-coded inorg.springdoc.core.utils.Constants#SWAGGER_UI_PREFIX
, so I can't change it to avoid the warning.The text was updated successfully, but these errors were encountered: