@Component @Configuration public class SwaggerConfig extends Object
Constructor and Description |
---|
SwaggerConfig() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.context.support.ServletContextAttributeExporter |
contextAttributes(SwaggerSettings settings) |
org.springframework.boot.context.embedded.ServletRegistrationBean |
swaggerServlet() |
@Autowired @Bean public org.springframework.web.context.support.ServletContextAttributeExporter contextAttributes(SwaggerSettings settings)
@Bean public org.springframework.boot.context.embedded.ServletRegistrationBean swaggerServlet()
Copyright © 2015. All rights reserved.