diff --git a/src/main/java/com/kwan/springbootkwan/config/Swagger2Config.java b/src/main/java/com/kwan/springbootkwan/config/Swagger2Config.java index 0f0e6ca1ad53409a1f4c1bcc55766cc14c073c67..28906d5a83f9c67f888688a3c4f0c02d23d2916d 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