(fix)(config) fix SwaggerConfig checkstyle (#312)

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2023-11-02 18:57:47 +08:00
committed by GitHub
parent ad20380283
commit 70784598e1

View File

@@ -11,12 +11,12 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
@Configuration
@EnableSwagger2
public class SwaggerConfig {
@Bean
public Docket api() {
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any())
.build();
}
@Bean
public Docket api() {
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any())
.build();
}
}