File tree Expand file tree Collapse file tree 7 files changed +19
-42
lines changed
code-generator/src/main/resources
file-center/src/main/resources
search-center/search-server/src/main/resources
user-center/src/main/resources
zlt-config/src/main/resources
zlt-gateway/sc-gateway/src/main/resources
zlt-uaa/src/main/resources Expand file tree Collapse file tree 7 files changed +19
-42
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,12 @@ mybatis-plus:
1111 typeAliasesPackage : com.central.generator.model
1212
1313springdoc :
14- swagger-ui :
15- path : /swagger-ui.html
16- tags-sorter : alpha
17- operations-sorter : alpha
18- api-docs :
19- path : /v3/api-docs
2014 group-configs :
2115 - group : ' code'
2216 paths-to-match : ' /**'
2317 packages-to-scan : com.central.generator.controller
24- default-flat-param-object : true
2518
2619knife4j :
2720 enable : true
2821 setting :
29- language : zh_cn
3022 swagger-model-name : 代码生成器接口文档
Original file line number Diff line number Diff line change @@ -14,22 +14,14 @@ mybatis-plus:
1414 id-type : INPUT
1515
1616springdoc :
17- swagger-ui :
18- path : /swagger-ui.html
19- tags-sorter : alpha
20- operations-sorter : alpha
21- api-docs :
22- path : /v3/api-docs
2317 group-configs :
2418 - group : ' default'
2519 paths-to-match : ' /**'
2620 packages-to-scan : com.central.file.controller
27- default-flat-param-object : true
2821
2922knife4j :
3023 enable : true
3124 setting :
32- language : zh_cn
3325 swagger-model-name : 文件中心接口文档
3426
3527zlt :
Original file line number Diff line number Diff line change @@ -5,22 +5,14 @@ spring:
55 password : ${zlt.elasticsearch.password}
66
77springdoc :
8- swagger-ui :
9- path : /swagger-ui.html
10- tags-sorter : alpha
11- operations-sorter : alpha
12- api-docs :
13- path : /v3/api-docs
148 group-configs :
159 - group : ' search'
1610 paths-to-match : ' /**'
1711 packages-to-scan : com.central.search.controller
18- default-flat-param-object : true
1912
2013knife4j :
2114 enable : true
2215 setting :
23- language : zh_cn
2416 swagger-model-name : 搜索中心接口文档
2517
2618zlt :
Original file line number Diff line number Diff line change @@ -14,22 +14,14 @@ mybatis-plus:
1414 id-type : auto
1515
1616springdoc :
17- swagger-ui :
18- path : /swagger-ui.html
19- tags-sorter : alpha
20- operations-sorter : alpha
21- api-docs :
22- path : /v3/api-docs
2317 group-configs :
2418 - group : ' default'
2519 paths-to-match : ' /**'
2620 packages-to-scan : com.central.user.controller
27- default-flat-param-object : true
2821
2922knife4j :
3023 enable : true
3124 setting :
32- language : zh_cn
3325 swagger-model-name : 用户中心接口文档
3426
3527zlt :
Original file line number Diff line number Diff line change @@ -88,4 +88,13 @@ spring.data.redis.lettuce.pool.max-idle=8
8888spring.data.redis.lettuce.pool.min-idle =0
8989
9090# #### logging配置
91- logging.level.com.alibaba.nacos.client.naming =warn
91+ logging.level.com.alibaba.nacos.client.naming =warn
92+
93+ # #### swagger配置
94+ springdoc.swagger-ui.path =/swagger-ui.html
95+ springdoc.swagger-ui.tags-sorter =alpha
96+ springdoc.swagger-ui.operations-sorter =alpha
97+ springdoc.api-docs.path =/v3/api-docs
98+ springdoc.default-flat-param-object =true
99+
100+ knife4j.setting.language =zh_cn
Original file line number Diff line number Diff line change @@ -91,6 +91,14 @@ knife4j:
9191 service-name : user-center
9292 url : /api-user/v3/api-docs/default
9393 context-path : /api-user
94+ - name : 授权服务
95+ service-name : uaa-server
96+ url : /api-uaa/v3/api-docs/default
97+ context-path : /api-uaa
98+ - name : 搜索服务
99+ service-name : search-center
100+ url : /api-search/v3/api-docs/default
101+ context-path : /api-search
94102 - name : 文件服务
95103 service-name : file-center
96104 url : /api-file/v3/api-docs/default
Original file line number Diff line number Diff line change @@ -14,22 +14,14 @@ mybatis-plus:
1414 id-type : auto
1515
1616springdoc :
17- swagger-ui :
18- path : /swagger-ui.html
19- tags-sorter : alpha
20- operations-sorter : alpha
21- api-docs :
22- path : /v3/api-docs
2317 group-configs :
24- - group : ' uaa '
18+ - group : ' default '
2519 paths-to-match : ' /**'
2620 packages-to-scan : com.central.oauth.controller
27- default-flat-param-object : true
2821
2922knife4j :
3023 enable : true
3124 setting :
32- language : zh_cn
3325 swagger-model-name : 认证中心接口文档
3426
3527zlt :
You can’t perform that action at this time.
0 commit comments