Package io.swagger.configuration
Class SwaggerUiConfiguration
java.lang.Object
org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
io.swagger.configuration.SwaggerUiConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Generated(value="io.swagger.codegen.languages.SpringCodegen", date="2022-03-18T10:44:56.284Z") @Configuration @ComponentScan(basePackages="dev.vality.swag.analytics.api") @EnableWebMvc @EnableSwagger2 @PropertySource("classpath:swagger.properties") @Import(SwaggerDocumentationConfig.class) public class SwaggerUiConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
Constructor Summary
Constructors Constructor Description SwaggerUiConfiguration() -
Method Summary
Modifier and Type Method Description voidaddResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)org.springframework.http.converter.json.Jackson2ObjectMapperBuilderbuilder()voidconfigureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)com.fasterxml.jackson.databind.ObjectMapperobjectMapper()Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
SwaggerUiConfiguration
public SwaggerUiConfiguration()
-
-
Method Details
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)- Specified by:
addResourceHandlersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Overrides:
addResourceHandlersin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
builder
@Bean public org.springframework.http.converter.json.Jackson2ObjectMapperBuilder builder() -
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)- Specified by:
configureMessageConvertersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Overrides:
configureMessageConvertersin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
objectMapper
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
-