|  |  | 
 |  |  |  | 
 |  |  | import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiModel; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import org.springframework.beans.BeansException; | 
 |  |  | import org.springframework.beans.factory.annotation.Value; | 
 |  |  | import org.springframework.beans.factory.config.BeanPostProcessor; | 
 |  |  | 
 |  |  |  | 
 |  |  |         return docket; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Bean | 
 |  |  |     public Docket rcsDocket() { | 
 |  |  |         Docket docket = new Docket(DocumentationType.OAS_30) | 
 |  |  |                 .apiInfo(apiInfo()) | 
 |  |  |                 .enable("dev".equals(active)) | 
 |  |  |                 .groupName("RCS任务调度") | 
 |  |  |                 .select() | 
 |  |  |                 .apis(RequestHandlerSelectors.basePackage("com.vincent.rsf.openApi.controller")) | 
 |  |  |                 .paths(PathSelectors.any()) | 
 |  |  |                 .build(); | 
 |  |  |  | 
 |  |  |         return docket; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     private ApiInfo apiInfo() { | 
 |  |  |         return new ApiInfoBuilder() |