Package org.springdoc.webmvc.ui
Class SwaggerWebMvcConfigurer
- java.lang.Object
-
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
- org.springdoc.webmvc.ui.SwaggerWebMvcConfigurer
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public class SwaggerWebMvcConfigurer extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterThe 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 voidaddResourceHandlers(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 configswaggerIndexTransformer- the swagger index transformeractuatorProvider- the actuator provider
-
-
Method Detail
-
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
-
-