Describe the bug
config file:
# application.yml
springdoc:
api-docs:
enabled: false
swagger-ui:
enabled: false
# application-dev.yml
springdoc:
api-docs:
enabled: true
swagger-ui:
enabled: true
# application-prod.yml
springdoc:
api-docs:
enabled: false
swagger-ui:
enabled: false
# compile native
mvn -Pnative native:compile -Dmaven.test.skip=true
# And running with dev active
xx-server --spring.profiles.active=dev
# not accessible to swagger-ui.html
# And running with prod
xx-server --spring.profiles.active=prod
# not accessible to swagger-ui.html
In general, it remains to the build state, and we can not enabled it from propertiy config.
To Reproduce
Steps to reproduce the behavior:
- spring-boot 4.0.3
- springdoc-openapi 3.0.2
- 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
- A clear and concise description of what you expected to happen.
- What is the expected result using OpenAPI Description (yml or json)?
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
config file:
In general, it remains to the build state, and we can not enabled it from propertiy config.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.