|
|
|
@ -4,6 +4,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
|
|
|
import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
|
|
|
|
|
|
|
|
|
|
import org.springframework.context.annotation.Profile;
|
|
|
|
|
import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
|
|
|
|
import swagger.BaseSwaggerConfig;
|
|
|
|
|
import swagger.SwaggerProperties;
|
|
|
|
@ -11,6 +12,7 @@ import swagger.SwaggerProperties;
|
|
|
|
|
@Configuration
|
|
|
|
|
@EnableSwagger2
|
|
|
|
|
@EnableSwaggerBootstrapUI
|
|
|
|
|
@Profile("!prod")
|
|
|
|
|
public class SwaggerConfig extends BaseSwaggerConfig {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|