Class AbstractOpenAPIExtension

    • Field Detail

      • openapi31

        protected boolean openapi31
      • schemaResolution

        protected io.swagger.v3.oas.models.media.Schema.SchemaResolution schemaResolution
      • configuration

        protected io.swagger.v3.core.util.Configuration configuration
    • Constructor Detail

      • AbstractOpenAPIExtension

        public AbstractOpenAPIExtension()
    • Method Detail

      • decorateOperation

        public void decorateOperation​(io.swagger.v3.oas.models.Operation operation,
                                      Method method,
                                      Iterator<OpenAPIExtension> chain)
        Description copied from interface: OpenAPIExtension
        Decorates operation with additional vendor based extensions.
        Specified by:
        decorateOperation in interface OpenAPIExtension
        Parameters:
        operation - the operation, build from swagger definition
        method - the method for additional scan
        chain - the chain with swagger extensions to process
      • shouldIgnoreClass

        protected boolean shouldIgnoreClass​(Class<?> cls)
      • shouldIgnoreType

        protected boolean shouldIgnoreType​(Type type,
                                           Set<Type> typesToSkip)
      • constructType

        protected com.fasterxml.jackson.databind.JavaType constructType​(Type type)
      • setSchemaResolution

        public void setSchemaResolution​(io.swagger.v3.oas.models.media.Schema.SchemaResolution schemaResolution)
        Specified by:
        setSchemaResolution in interface OpenAPIExtension
      • setConfiguration

        public void setConfiguration​(io.swagger.v3.core.util.Configuration configuration)
        Specified by:
        setConfiguration in interface OpenAPIExtension