|
|
|
@ -223,17 +223,45 @@ api-decrypt: |
|
|
|
|
|
|
|
springdoc: |
|
|
|
api-docs: |
|
|
|
# 是否开启接口文档 |
|
|
|
enabled: true |
|
|
|
path: /v3/api-docs |
|
|
|
swagger-ui: |
|
|
|
enabled: true |
|
|
|
path: /swagger-ui |
|
|
|
default-flat-param-object: true # 参见 https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param 文档 |
|
|
|
components: |
|
|
|
securitySchemes: |
|
|
|
Authorization: |
|
|
|
type: apiKey |
|
|
|
in: header |
|
|
|
name: Authorization |
|
|
|
description: "Bearer Token,格式: Bearer {token}" |
|
|
|
clientid: |
|
|
|
type: apiKey |
|
|
|
in: header |
|
|
|
name: clientid |
|
|
|
description: "客户端ID" |
|
|
|
info: |
|
|
|
# 标题 |
|
|
|
title: '标题:zdxt-Vue-Plus多租户管理系统_接口文档' |
|
|
|
# 描述 |
|
|
|
description: '描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...' |
|
|
|
# 版本 |
|
|
|
version: '版本号: ${project.version}' |
|
|
|
# 作者信息 |
|
|
|
contact: |
|
|
|
name: Lion Li |
|
|
|
email: crazylionli@163.com |
|
|
|
url: https://gitee.com/dromara/zdxt-Vue-Plus |
|
|
|
#这里定义了两个分组,可定义多个,也可以不定义 |
|
|
|
group-configs: |
|
|
|
- group: 1、执法监督码 |
|
|
|
packages-to-scan: com.zdxt.enforcementcode |
|
|
|
# - group: 2.通用模块 |
|
|
|
# packages-to-scan: org.dromara.web |
|
|
|
- group: 3.系统模块 |
|
|
|
packages-to-scan: org.dromara.system |
|
|
|
# - group: 4.代码生成模块 |
|
|
|
# packages-to-scan: org.dromara.generator |
|
|
|
# - group: 5.工作流模块 |
|
|
|
# packages-to-scan: org.dromara.workflow |
|
|
|
|
|
|
|
knife4j: |
|
|
|
enable: true |
|
|
|
setting: |
|
|
|
language: zh_cn |
|
|
|
# 防止XSS攻击 |
|
|
|
xss: |
|
|
|
# 过滤开关 |
|
|
|
|