-
-
Notifications
You must be signed in to change notification settings - Fork 557
Open
Description
Is your feature request related to a problem? Please describe.
Since version 2.18.4 whenever we start our application there are 2 warnings produced:
SpringDoc /swagger-ui.html endpoint is enabled by default. To disable it in production, set the property 'springdoc.swagger-ui.enabled=false'
SpringDoc /v3/api-docs endpoint is enabled by default. To disable it in production, set the property 'springdoc.api-docs.enabled=false'
I cannot find a way to disable them without also disabling swagger
Describe the solution you'd like
If we have explicitly set the properties to enabled the warning shouldn't be printed out
springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true
Describe alternatives you've considered
The alternative would be to remove it from application.properties but that would remove swagger-ui from local runs as well
Metadata
Metadata
Assignees
Labels
No labels