Package com.github.chhorz.openapi.schema
Class SchemaOpenApiProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.github.chhorz.openapi.common.OpenAPIProcessor
com.github.chhorz.openapi.schema.SchemaOpenApiProcessor
- All Implemented Interfaces:
Processor
-
Field Summary
Fields inherited from class com.github.chhorz.openapi.common.OpenAPIProcessor
elements, javaDocParser, logUtils, openApi, parserProperties, processingUtils, propertyLoader, responseUtils, schemaUtils
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStream<Class<? extends Annotation>>
Create a stream of all supported annotation classesReturns a set of all annotation processor options that will be recognized by the implementations of this interface.void
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class com.github.chhorz.openapi.common.OpenAPIProcessor
createJavadocParser, exclude, getOperationId, getOperationId, getSecurityInformation, getSupportedAnnotationTypes, getSupportedSourceVersion, getTags, init, initializeFromProperties, isClassAvailable, readOpenApiFile, runPostProcessors
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
Constructor Details
-
SchemaOpenApiProcessor
public SchemaOpenApiProcessor()
-
-
Method Details
-
init
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
getSupportedAnnotationClasses
Description copied from class:OpenAPIProcessor
Create a stream of all supported annotation classes- Specified by:
getSupportedAnnotationClasses
in classOpenAPIProcessor
- Returns:
- stream of class elements.
-
getSupportedOptions
Description copied from class:OpenAPIProcessor
Returns a set of all annotation processor options that will be recognized by the implementations of this interface.- Specified by:
getSupportedOptions
in interfaceProcessor
- Overrides:
getSupportedOptions
in classOpenAPIProcessor
- Returns:
- a set of annotation processor compiler options
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-