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, schemaUtilsFields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
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.voidinit(ProcessingEnvironment processingEnv) booleanprocess(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, runPostProcessorsMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
Constructor Details
-
SchemaOpenApiProcessor
public SchemaOpenApiProcessor()
-
-
Method Details
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
getSupportedAnnotationClasses
Description copied from class:OpenAPIProcessorCreate a stream of all supported annotation classes- Specified by:
getSupportedAnnotationClassesin classOpenAPIProcessor- Returns:
- stream of class elements.
-
getSupportedOptions
Description copied from class:OpenAPIProcessorReturns a set of all annotation processor options that will be recognized by the implementations of this interface.- Specified by:
getSupportedOptionsin interfaceProcessor- Overrides:
getSupportedOptionsin classOpenAPIProcessor- Returns:
- a set of annotation processor compiler options
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-