Class MultipleOpenApiResource

java.lang.Object
org.springdoc.webmvc.api.MultipleOpenApiResource
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
MultipleOpenApiActuatorResource, MultipleOpenApiWebMvcResource

public abstract class MultipleOpenApiResource extends Object implements org.springframework.beans.factory.InitializingBean
The type Web mvc multiple open api resource.
Author:
bnasslahsen
  • Constructor Details

    • MultipleOpenApiResource

      protected MultipleOpenApiResource(List<GroupedOpenApi> groupedOpenApis, org.springframework.beans.factory.ObjectFactory<OpenAPIService> defaultOpenAPIBuilder, AbstractRequestService requestBuilder, GenericResponseService responseBuilder, OperationService operationParser, SpringDocConfigProperties springDocConfigProperties, SpringDocProviders springDocProviders, SpringDocCustomizers springDocCustomizers)
      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
      springDocProviders - the spring doc providers
      springDocCustomizers - the spring doc customizers
  • Method Details

    • 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