Package org.springdoc.webflux.api
Class MultipleOpenApiResource
- java.lang.Object
-
- org.springdoc.webflux.api.MultipleOpenApiResource
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
MultipleOpenApiActuatorResource,MultipleOpenApiWebFluxResource
public abstract class MultipleOpenApiResource extends Object implements org.springframework.beans.factory.InitializingBean
The type Multiple open api resource.- Author:
- bnasslahsen
-
-
Constructor Summary
Constructors Constructor Description MultipleOpenApiResource(List<GroupedOpenApi> groupedOpenApis, org.springframework.beans.factory.ObjectFactory<OpenAPIService> defaultOpenAPIBuilder, AbstractRequestService requestBuilder, GenericResponseService responseBuilder, OperationService operationParser, org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping requestMappingHandlerMapping, SpringDocConfigProperties springDocConfigProperties, Optional<ActuatorProvider> actuatorProvider)Instantiates a new Multiple open api resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected OpenApiResourcegetOpenApiResourceOrThrow(String group)Gets open api resource or throw.
-
-
-
Constructor Detail
-
MultipleOpenApiResource
public MultipleOpenApiResource(List<GroupedOpenApi> groupedOpenApis, org.springframework.beans.factory.ObjectFactory<OpenAPIService> defaultOpenAPIBuilder, AbstractRequestService requestBuilder, GenericResponseService responseBuilder, OperationService operationParser, org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping requestMappingHandlerMapping, SpringDocConfigProperties springDocConfigProperties, Optional<ActuatorProvider> actuatorProvider)
Instantiates a new Multiple open api resource.- Parameters:
groupedOpenApis- the grouped open apisdefaultOpenAPIBuilder- the default open api builderrequestBuilder- the request builderresponseBuilder- the response builderoperationParser- the operation parserrequestMappingHandlerMapping- the request mapping handler mappingspringDocConfigProperties- the spring doc config propertiesactuatorProvider- the actuator provider
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getOpenApiResourceOrThrow
protected OpenApiResource getOpenApiResourceOrThrow(String group)
Gets open api resource or throw.- Parameters:
group- the group- Returns:
- the open api resource or throw
-
-