Class SwaggerWebMvcConfigurer

  • All Implemented Interfaces:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    public class SwaggerWebMvcConfigurer
    extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
    The type Swagger web mvc configurer.
    Author:
    bnasslahsen
    • Constructor Summary

      Constructors 
      Constructor Description
      SwaggerWebMvcConfigurer​(org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters, SwaggerIndexTransformer swaggerIndexTransformer, Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider)
      Instantiates a new Swagger web mvc configurer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)  
      • Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

        addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
    • Constructor Detail

      • SwaggerWebMvcConfigurer

        public SwaggerWebMvcConfigurer​(org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters,
                                       SwaggerIndexTransformer swaggerIndexTransformer,
                                       Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider)
        Instantiates a new Swagger web mvc configurer.
        Parameters:
        swaggerUiConfigParameters - the swagger ui calculated config
        swaggerIndexTransformer - the swagger index transformer
        actuatorProvider - the actuator provider
    • Method Detail

      • 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