inleft
2024-05-18 2ddbd99aa5b2e396f96c6daba60fe1ac2573d9fb
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() {