@Configuration @EnableSwagger2 @EnableConfigurationProperties(value=SwaggerProperties.class) @ConditionalOnProperty(prefix="swagger.api.enable", value="true", matchIfMissing=true) public class SwaggerConfig extends Object
Swagger配置类
public SwaggerConfig(SwaggerProperties swaggerProperties)
Copyright © 2020. All rights reserved.