zhang
13 小时以前 16a09540001bd00f01b848f0ca125d16bf314450
rsf-server/src/main/java/com/vincent/rsf/server/common/config/SwaggerConfig.java
@@ -2,8 +2,6 @@
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;
@@ -61,21 +59,6 @@
        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()