(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 @Configuration
@EnableSwagger2 @EnableSwagger2
public class SwaggerConfig { public class SwaggerConfig {
@Bean @Bean
public Docket api() { public Docket api() {
return new Docket(DocumentationType.SWAGGER_2) return new Docket(DocumentationType.SWAGGER_2)
.select() .select()
.apis(RequestHandlerSelectors.any()) .apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any()) .paths(PathSelectors.any())
.build(); .build();
} }
} }