All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.autoconfigure.knife4j.Knife4jAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
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();
//    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy