@Configuration @ConditionalOnProperty(value="genie.swagger.enabled", havingValue="true") @EnableSwagger2 @Import(value=springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration.class) @EnableConfigurationProperties(value=SwaggerProperties.class) public class SwaggerAutoConfiguration extends java.lang.Object
see: https://github.com/springfox/springfox
Constructor and Description |
---|
SwaggerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
springfox.documentation.spring.web.plugins.Docket |
genieApi()
Configure Spring Fox.
|