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