org.zodiac.autoconfigure.knife4j.Knife4jAutoConfiguration Maven / Gradle / Ivy
package org.zodiac.autoconfigure.knife4j;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
@ConditionalOnWebApplication
@SpringBootConfiguration
@ConditionalOnProperty(name = "knife4j.enable", havingValue = "true")
@ConditionalOnClass(value = {com.github.xiaoymin.knife4j.core.extend.OpenApiExtendSetting.class,
com.github.xiaoymin.knife4j.spring.extension.OpenApiExtensionResolver.class, org.zodiac.knife4j.spring.reactive.ReactiveSecurityBasicAuthFilter.class})
public class Knife4jAutoConfiguration {
public Knife4jAutoConfiguration() {
}
// @Bean
// @ConditionalOnMissingBean
// protected org.zodiac.knife4j.spring.ToolSwaggerController toolSwaggerController() {
// return new org.zodiac.knife4j.spring.ToolSwaggerController();
// }
}