Package org.springdoc.webflux.ui
Class SwaggerWebFluxConfigurer
java.lang.Object
org.springdoc.webflux.ui.SwaggerWebFluxConfigurer
- All Implemented Interfaces:
org.springframework.web.reactive.config.WebFluxConfigurer
public class SwaggerWebFluxConfigurer
extends Object
implements org.springframework.web.reactive.config.WebFluxConfigurer
The type Swagger web flux configurer.
- Author:
- bnasslahsen
-
Constructor Summary
ConstructorsConstructorDescriptionSwaggerWebFluxConfigurer
(org.springdoc.core.properties.SwaggerUiConfigParameters swaggerUiConfigParameters, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties, SwaggerIndexTransformer swaggerIndexTransformer, Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider) Instantiates a new Swagger web flux configurer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourceHandlers
(org.springframework.web.reactive.config.ResourceHandlerRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.reactive.config.WebFluxConfigurer
addCorsMappings, addFormatters, configureArgumentResolvers, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService
-
Constructor Details
-
SwaggerWebFluxConfigurer
public SwaggerWebFluxConfigurer(org.springdoc.core.properties.SwaggerUiConfigParameters swaggerUiConfigParameters, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties, SwaggerIndexTransformer swaggerIndexTransformer, Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider) Instantiates a new Swagger web flux configurer.- Parameters:
swaggerUiConfigParameters
- the swagger ui calculated configspringDocConfigProperties
- the spring doc config propertiesswaggerIndexTransformer
- the swagger index transformeractuatorProvider
- the actuator provider
-
-
Method Details
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry) - Specified by:
addResourceHandlers
in interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
-