Class 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 Detail

      • MultipleOpenApiResource

        protected MultipleOpenApiResource​(List<GroupedOpenApi> groupedOpenApis,
                                          org.springframework.beans.factory.ObjectFactory<OpenAPIService> defaultOpenAPIBuilder,
                                          AbstractRequestService requestBuilder,
                                          GenericResponseService responseBuilder,
                                          OperationService operationParser,
                                          SpringDocConfigProperties springDocConfigProperties,
                                          SpringDocProviders springDocProviders)
        Instantiates a new Multiple open api resource.
        Parameters:
        groupedOpenApis - the grouped open apis
        defaultOpenAPIBuilder - the default open api builder
        requestBuilder - the request builder
        responseBuilder - the response builder
        operationParser - the operation parser
        springDocConfigProperties - the spring doc config properties
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • getOpenApiResourceOrThrow

        protected OpenApiResource getOpenApiResourceOrThrow​(String group)
        Gets open api resource or throw.
        Parameters:
        group - the group
        Returns:
        the open api resource or throw