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.SwaggerUiConfigProperties swaggerUiConfigProperties, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties, SwaggerIndexTransformer swaggerIndexTransformer, Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider, SwaggerResourceResolver swaggerResourceResolver) Instantiates a new Swagger web flux configurer. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.reactive.config.WebFluxConfigurer
addCorsMappings, addErrorResponseInterceptors, addFormatters, configureApiVersioning, configureArgumentResolvers, configureBlockingExecution, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService
-
Constructor Details
-
SwaggerWebFluxConfigurer
public SwaggerWebFluxConfigurer(org.springdoc.core.properties.SwaggerUiConfigProperties swaggerUiConfigProperties, org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties, SwaggerIndexTransformer swaggerIndexTransformer, Optional<org.springdoc.core.providers.ActuatorProvider> actuatorProvider, SwaggerResourceResolver swaggerResourceResolver) Instantiates a new Swagger web flux configurer.- Parameters:
swaggerUiConfigProperties- the swagger ui calculated configspringDocConfigProperties- the spring doc config propertiesswaggerIndexTransformer- the swagger index transformeractuatorProvider- the actuator providerswaggerResourceResolver- the swagger resource resolver
-
-
Method Details
-
addResourceHandlers
public void addResourceHandlers(org.springframework.web.reactive.config.ResourceHandlerRegistry registry) - Specified by:
addResourceHandlersin interfaceorg.springframework.web.reactive.config.WebFluxConfigurer
-