@Configuration @Import(value={SpringfoxWebMvcConfiguration.class,SwaggerCommonConfiguration.class}) @ComponentScan(basePackages={"springfox.documentation.swagger1.readers.parameter","springfox.documentation.swagger1.mappers"}) public class Swagger1DocumentationConfiguration extends java.lang.Object
Constructor and Description |
---|
Swagger1DocumentationConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.HandlerMapping |
swagger1ControllerMapping(org.springframework.core.env.Environment environment,
DocumentationCache documentationCache,
ServiceModelToSwaggerMapper mapper,
JsonSerializer jsonSerializer) |
JacksonModuleRegistrar |
swagger1Module() |
SwaggerDefaultConfiguration |
swaggerDefaults(javax.servlet.ServletContext servletContext,
com.fasterxml.classmate.TypeResolver type,
Defaults defaults) |
@Bean public JacksonModuleRegistrar swagger1Module()
@Bean public org.springframework.web.servlet.HandlerMapping swagger1ControllerMapping(org.springframework.core.env.Environment environment, DocumentationCache documentationCache, ServiceModelToSwaggerMapper mapper, JsonSerializer jsonSerializer)
@Bean public SwaggerDefaultConfiguration swaggerDefaults(javax.servlet.ServletContext servletContext, com.fasterxml.classmate.TypeResolver type, Defaults defaults)