diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 5f7c8fa1..5e46c5a3 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -756,8 +756,11 @@ web: core: enabled: true - # 在线API文档工具 - swagger: +# 在线API文档 +springdoc: + api-docs: + enabled: true + swagger-ui: enabled: true # 错误页面500.html是否输出错误信息(正式环境,为提供安全性可设置为false) diff --git a/web-ai/src/main/resources/config/application.yml b/web-ai/src/main/resources/config/application.yml index 243e08a0..88405702 100644 --- a/web-ai/src/main/resources/config/application.yml +++ b/web-ai/src/main/resources/config/application.yml @@ -213,9 +213,12 @@ web: # 核心模块的Web功能开启(其它微服务时设为false) core: enabled: true - - # 在线API文档工具 - swagger: + +# 在线API文档 +springdoc: + api-docs: + enabled: true + swagger-ui: enabled: true # 错误页面500.html是否输出错误信息(正式环境,为提供安全性可设置为false) diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index 781115f7..ef161280 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -901,8 +901,11 @@ web: core: enabled: true - # 在线API文档工具 - swagger: +# 在线API文档 +springdoc: + api-docs: + enabled: true + swagger-ui: enabled: true # 错误页面500.html是否输出错误信息(正式环境,为提供安全性可设置为false) diff --git a/web-fast/src/main/resources/config/application.yml b/web-fast/src/main/resources/config/application.yml index 4d8be94a..01aa6f34 100644 --- a/web-fast/src/main/resources/config/application.yml +++ b/web-fast/src/main/resources/config/application.yml @@ -213,9 +213,12 @@ web: # 核心模块的Web功能开启(其它微服务时设为false) core: enabled: true - - # 在线API文档工具 - swagger: + +# 在线API文档 +springdoc: + api-docs: + enabled: true + swagger-ui: enabled: true # 错误页面500.html是否输出错误信息(正式环境,为提供安全性可设置为false) diff --git a/web-mini/src/main/resources/config/application.yml b/web-mini/src/main/resources/config/application.yml index 64789c8d..165f8b50 100644 --- a/web-mini/src/main/resources/config/application.yml +++ b/web-mini/src/main/resources/config/application.yml @@ -166,9 +166,12 @@ web: core: enabled: false - # 在线API文档工具 - swagger: - enabled: false +# 在线API文档 +springdoc: + api-docs: + enabled: true + swagger-ui: + enabled: true # 文件上传 file: diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index b3b8a3f6..554db08e 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -904,9 +904,12 @@ web: # 核心模块的Web功能开启(其它微服务时设为false) core: enabled: true - - # 在线API文档工具 - swagger: + +# 在线API文档 +springdoc: + api-docs: + enabled: true + swagger-ui: enabled: true # 错误页面500.html是否输出错误信息(正式环境,为提供安全性可设置为false)