From 6b1f3140b8eeefe24697fd330c91a69a80567dd1 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 19 Jan 2023 15:22:58 +0800 Subject: [PATCH] =?UTF-8?q?spring=20doc=EF=BC=9A=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E5=AD=97=E6=AE=B5~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/framework/swagger/config/SwaggerProperties.java | 5 ----- yudao-server/src/main/resources/application.yaml | 5 ++--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/swagger/config/SwaggerProperties.java b/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/swagger/config/SwaggerProperties.java index 21680cd00..13a156881 100644 --- a/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/swagger/config/SwaggerProperties.java +++ b/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/swagger/config/SwaggerProperties.java @@ -34,11 +34,6 @@ public class SwaggerProperties { */ @NotEmpty(message = "版本不能为空") private String version; - /** - * 扫描的包 - */ - @NotEmpty(message = "扫描的 package 不能为空") - private String basePackage; /** * url */ diff --git a/yudao-server/src/main/resources/application.yaml b/yudao-server/src/main/resources/application.yaml index 1a1119c78..1e99ba11e 100644 --- a/yudao-server/src/main/resources/application.yaml +++ b/yudao-server/src/main/resources/application.yaml @@ -114,10 +114,9 @@ yudao: maxOnlineCount: 0 # 最大连接人数 sessionMap: true # 保存sessionMap swagger: - title: 管理后台 - description: 提供管理员管理的所有功能 + title: 芋道快速开发平台 + description: 提供管理后台、用户 App 的所有功能 version: ${yudao.info.version} - base-package: ${yudao.info.base-package} url: ${yudao.web.admin-ui.url} email: xingyu4j@vip.qq.com license: MIT