rsf-server/src/main/java/com/vincent/rsf/server/common/config/SwaggerConfig.java
@@ -41,8 +41,21 @@ //apis: 添加swagger接口提取范围 .apis(RequestHandlerSelectors.withClassAnnotation(Api.class)) .paths(PathSelectors.any()) .build() ; .build(); return docket; } @Bean public Docket erpDocket() { Docket docket = new Docket(DocumentationType.OAS_30) .apiInfo(apiInfo()) .enable("dev".equals(active)) .groupName("ERP接口对接") .select() .apis(RequestHandlerSelectors.basePackage("com.vincent.rsf.server.api.controller.erp")) .paths(PathSelectors.any()) .build(); return docket; }