Class GenericOpenApiContext<T extends GenericOpenApiContext>

    • Constructor Detail

      • GenericOpenApiContext

        public GenericOpenApiContext()
    • Method Detail

      • getCacheTTL

        public long getCacheTTL()
      • setCacheTTL

        public void setCacheTTL​(long cacheTTL)
      • cacheTTL

        public T cacheTTL​(long cacheTTL)
      • openApiReader

        public final T openApiReader​(OpenApiReader openApiReader)
      • openApiScanner

        public final T openApiScanner​(OpenApiScanner openApiScanner)
      • getResourcePackages

        public Set<String> getResourcePackages()
      • setResourcePackages

        public void setResourcePackages​(Set<String> resourcePackages)
      • resourcePackages

        public T resourcePackages​(Set<String> resourcePackages)
      • getResourceClasses

        public Set<String> getResourceClasses()
      • setResourceClasses

        public void setResourceClasses​(Set<String> resourceClasses)
      • resourceClasses

        public T resourceClasses​(Set<String> resourceClasses)
      • setConfigLocation

        public void setConfigLocation​(String configLocation)
      • configLocation

        public final T configLocation​(String configLocation)
      • setId

        public void setId​(String id)
      • id

        public final T id​(String id)
      • objectMapperProcessor

        public final T objectMapperProcessor​(ObjectMapperProcessor objectMapperProcessor)
        Since:
        2.0.6
      • getModelConverters

        public Set<io.swagger.v3.core.converter.ModelConverter> getModelConverters()
        Since:
        2.0.6
      • setModelConverters

        public void setModelConverters​(Set<io.swagger.v3.core.converter.ModelConverter> modelConverters)
        Specified by:
        setModelConverters in interface OpenApiContext
        Since:
        2.0.6
      • modelConverters

        public final T modelConverters​(Set<io.swagger.v3.core.converter.ModelConverter> modelConverters)
        Since:
        2.0.6
      • getOutputJsonMapper

        public com.fasterxml.jackson.databind.ObjectMapper getOutputJsonMapper()
        Specified by:
        getOutputJsonMapper in interface OpenApiContext
        Since:
        2.1.6
      • setOutputJsonMapper

        public void setOutputJsonMapper​(com.fasterxml.jackson.databind.ObjectMapper outputJsonMapper)
        Specified by:
        setOutputJsonMapper in interface OpenApiContext
        Since:
        2.1.6
      • outputJsonMapper

        public final T outputJsonMapper​(com.fasterxml.jackson.databind.ObjectMapper outputJsonMapper)
        Since:
        2.1.6
      • getOutputYamlMapper

        public com.fasterxml.jackson.databind.ObjectMapper getOutputYamlMapper()
        Specified by:
        getOutputYamlMapper in interface OpenApiContext
        Since:
        2.1.6
      • setOutputYamlMapper

        public void setOutputYamlMapper​(com.fasterxml.jackson.databind.ObjectMapper outputYamlMapper)
        Specified by:
        setOutputYamlMapper in interface OpenApiContext
        Since:
        2.1.6
      • outputYamlMapper

        public final T outputYamlMapper​(com.fasterxml.jackson.databind.ObjectMapper outputYamlMapper)
        Since:
        2.1.6
      • isOpenAPI31

        public Boolean isOpenAPI31()
        Since:
        2.1.8
      • setOpenAPI31

        public void setOpenAPI31​(Boolean v)
        Since:
        2.1.8
      • openAPI31

        public T openAPI31​(Boolean openAPI31)
        Since:
        2.1.8
      • isConvertToOpenAPI31

        public Boolean isConvertToOpenAPI31()
        Since:
        2.2.12
      • setConvertToOpenAPI31

        public void setConvertToOpenAPI31​(Boolean convertToOpenAPI31)
        Since:
        2.2.12
      • convertToOpenAPI31

        public T convertToOpenAPI31​(Boolean convertToOpenAPI31)
        Since:
        2.2.12
      • getSchemaResolution

        public io.swagger.v3.oas.models.media.Schema.SchemaResolution getSchemaResolution()
        Since:
        2.2.24
      • setSchemaResolution

        public void setSchemaResolution​(io.swagger.v3.oas.models.media.Schema.SchemaResolution schemaResolution)
        Since:
        2.2.24
      • schemaResolution

        public T schemaResolution​(io.swagger.v3.oas.models.media.Schema.SchemaResolution schemaResolution)
        Since:
        2.2.24
      • getOpenAPIVersion

        public String getOpenAPIVersion()
        Since:
        2.2.28
      • setOpenAPIVersion

        public void setOpenAPIVersion​(String openAPIVersion)
        Since:
        2.2.28
      • openAPIVersion

        public T openAPIVersion​(String openAPIVersion)
        Since:
        2.2.28
      • register

        protected void register()
      • setOpenApiConfiguration

        public void setOpenApiConfiguration​(OpenAPIConfiguration openApiConfiguration)
      • getKnownLocations

        protected List<org.apache.commons.lang3.tuple.ImmutablePair<String,​String>> getKnownLocations()
      • read

        public io.swagger.v3.oas.models.OpenAPI read()
        Specified by:
        read in interface OpenApiContext
      • resetReader

        protected void resetReader()