🔧 微调配置

This commit is contained in:
lishangbu committed 2018-07-27 23:34:28 +08:00
1 parent 3c3c3d9ba0
commit f988139964
4 files changed
+7 -4

No files matched your search

@@ -0,0 +1 @@
restart.include.pigx-common-security=/pigx-common-swagger[\\w-]+\.jar
@@ -0,0 +1,2 @@
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.pig4cloud.pigx.common.swagger.config.SwaggerAutoConfiguration
@@ -53,6 +53,9 @@ swagger:
license: 'Powered By PigX'
licenseUrl: 'https://gitee.com/log4j/pig/wikis'
terms-of-service-url: 'https://gitee.wang/pig/pigx'
exclude-path:
- /actuator/**
- /error
contact:
name: '冷冷'
email: 'wangiegie@gmail.com'
@@ -38,7 +38,7 @@ mybatis-plus:
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
# swagger相关配置
# swagger相关配置,覆盖全局配置
swagger:
authorization:
authorization-scope-list:
@@ -48,6 +48,3 @@ swagger:
description: 'read all'
- scope: 'write'
description: 'access all'
exclude-path:
- /actuator/**
- /error