From 9dbcb1adf16722c9e35d091f5854d79cf0b5004f Mon Sep 17 00:00:00 2001 From: thinkgem Date: Tue, 30 Sep 2025 16:25:29 +0800 Subject: [PATCH] =?UTF-8?q?springdoc=20=E5=8D=87=E7=BA=A7=E4=B8=BA=202.8.1?= =?UTF-8?q?3=EF=BC=9Bweb.swagger.enabled=20=E6=9B=BF=E6=8D=A2=E4=B8=BA=20s?= =?UTF-8?q?pringdoc.api-docs.enabled=20=E5=92=8C=20springdoc.swagger-ui.en?= =?UTF-8?q?abled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 7 +++++-- web-ai/src/main/resources/config/application.yml | 9 ++++++--- web-api/src/main/resources/config/application.yml | 7 +++++-- web-fast/src/main/resources/config/application.yml | 9 ++++++--- web-mini/src/main/resources/config/application.yml | 9 ++++++--- web/src/main/resources/config/application.yml | 9 ++++++--- 6 files changed, 34 insertions(+), 16 deletions(-) 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)