chore(application-*.yml): 更新接口文档配置

This commit is contained in:
haoxr
2023-10-17 21:45:31 +08:00
parent 2ba2828edd
commit d21ba9e083
2 changed files with 29 additions and 5 deletions

View File

@@ -84,11 +84,22 @@ oss:
# springdoc配置 https://springdoc.org/properties.html
springdoc:
swagger-ui:
enabled: true
path: /swagger-ui.html
operationsSorter: alpha
tags-sorter: alpha
api-docs:
enabled: true
path: /v3/api-docs
group-configs:
- group: 'default'
paths-to-match: '/**'
packages-to-scan: com.youlai.system.controller
default-flat-param-object: true
# knife4j的增强配置不需要增强可以不配 https://doc.xiaominfo.com/docs/quick-start
knife4j:
enable: true
setting:
language: zh_cn
# xxl-job 定时任务配置
xxl:

View File

@@ -78,12 +78,25 @@ oss:
# 存储桶名称
bucket-name: default
# 接口文档
# springdoc配置 https://springdoc.org/properties.html
springdoc:
swagger-ui:
enabled: true
path: /swagger-ui.html
operationsSorter: alpha
tags-sorter: alpha
api-docs:
enabled: true
path: /v3/api-docs
group-configs:
- group: 'default'
paths-to-match: '/**'
packages-to-scan: com.youlai.system.controller
default-flat-param-object: true
# knife4j的增强配置不需要增强可以不配 https://doc.xiaominfo.com/docs/quick-start
knife4j:
enable: true
setting:
language: zh_cn
# xxl-job 定时任务配置
xxl: