@Configuration
@Import(value={SpringfoxWebMvcConfiguration.class,SwaggerCommonConfiguration.class})
@ComponentScan(basePackages={"springfox.documentation.swagger2.readers.parameter","springfox.documentation.swagger2.mappers"})
public class Swagger2DocumentationConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
Swagger2DocumentationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.HandlerMapping |
swagger2ControllerMapping(org.springframework.core.env.Environment environment,
DocumentationCache documentationCache,
ServiceModelToSwagger2Mapper mapper,
JsonSerializer jsonSerializer) |
JacksonModuleRegistrar |
swagger2Module() |
@Bean public JacksonModuleRegistrar swagger2Module()
@Bean
public org.springframework.web.servlet.HandlerMapping swagger2ControllerMapping(org.springframework.core.env.Environment environment,
DocumentationCache documentationCache,
ServiceModelToSwagger2Mapper mapper,
JsonSerializer jsonSerializer)