inleft
2022-03-02 42b7d05dfdf60ee67c876084a3240ff48a3bf3a5
snowy-base/snowy-system/src/main/java/vip/xiaonuo/sys/config/SwaggerConfig.java
@@ -25,6 +25,7 @@
package vip.xiaonuo.sys.config;
import cn.hutool.core.collection.CollectionUtil;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
@@ -55,6 +56,7 @@
 **/
@Configuration
@EnableSwagger2WebMvc
@ConditionalOnProperty(name = "swagger.enable", havingValue = "true")
public class SwaggerConfig {
    private List<Parameter> getParameters() {