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
    void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)  
    org.springframework.http.converter.json.Jackson2ObjectMapperBuilder builder()  
    void configureMessageConverters​(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)  
    com.fasterxml.jackson.databind.ObjectMapper objectMapper()  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SwaggerUiConfiguration

      public SwaggerUiConfiguration()
  • Method Details

    • addResourceHandlers

      public void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
      Specified by:
      addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
      Overrides:
      addResourceHandlers in class org.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:
      configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
      Overrides:
      configureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
    • objectMapper

      @Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()