inleft
2022-08-23 124ca536917b5eebe059bb98745f6743c52a6836
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() {