spring doc:支持通过 springdoc.api-docs 禁用

This commit is contained in:
YunaiV
2023-01-19 15:15:40 +08:00
parent 711a39b8e9
commit d193d2dd4a
2 changed files with 5 additions and 3 deletions

View File

@ -37,12 +37,12 @@ spring:
--- #################### 接口文档配置 ####################
springdoc:
swagger-ui:
enabled: true
path: /swagger-ui
api-docs:
enabled: true
path: /v3/api-docs
swagger-ui:
enabled: true
path: /swagger-ui
knife4j:
enable: true