新增告警分类接口文档
This commit is contained in:
parent
fd2f72c3cd
commit
fe5c319357
@ -122,12 +122,26 @@ public class SwaggerConfig {
|
||||
.pathMapping("/")
|
||||
.enable(swaggerEnabled);
|
||||
}
|
||||
@Bean
|
||||
public Docket createAlgorithmApi() {
|
||||
return new Docket(DocumentationType.OAS_30)
|
||||
.apiInfo(apiInfo())
|
||||
.groupName("9. 告警分类配置")
|
||||
.select()
|
||||
.apis(RequestHandlerSelectors.basePackage("com.yfd.platform.modules.algorithm.controller"))
|
||||
.paths(PathSelectors.any())
|
||||
.build()
|
||||
.pathMapping("/")
|
||||
.enable(swaggerEnabled);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Bean
|
||||
public Docket createTestApi() {
|
||||
return new Docket(DocumentationType.OAS_30)
|
||||
.apiInfo(apiInfo())
|
||||
.groupName("9. 测试接口")
|
||||
.groupName("10. 测试接口")
|
||||
.select()
|
||||
.apis(RequestHandlerSelectors.basePackage("com.yfd.platform.modules.test.controller"))
|
||||
.paths(PathSelectors.any())
|
||||
|
Loading…
Reference in New Issue
Block a user