From 7e230f58eea3f9a3ef276f0c0de53466bb042aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E8=8B=B1=E6=9D=B0?= <327782001@qq.com> Date: Sat, 26 Aug 2023 15:04:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:swagger=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/kwan/springbootkwan/config/Swagger2Config.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/kwan/springbootkwan/config/Swagger2Config.java b/src/main/java/com/kwan/springbootkwan/config/Swagger2Config.java index 0f0e6ca..28906d5 100644 --- a/src/main/java/com/kwan/springbootkwan/config/Swagger2Config.java +++ b/src/main/java/com/kwan/springbootkwan/config/Swagger2Config.java @@ -31,7 +31,7 @@ public class Swagger2Config { // 通过environment.acceptsProfiles()判断是否指定的环境中,是,则为true boolean flag = environment.acceptsProfiles(profiles); return new Docket(DocumentationType.SWAGGER_2) - .groupName("SpringBoot学习") + .groupName("SpringBootStudy") .pathMapping("/") .enable(flag) .apiInfo(apiInfo()) @@ -50,5 +50,4 @@ public class Swagger2Config { .version("Apache 2.0") .build(); } - } \ No newline at end of file -- GitLab