Package com.github.chhorz.openapi.spring
Class SpringWebOpenApiProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.github.chhorz.openapi.common.OpenAPIProcessor
com.github.chhorz.openapi.spring.SpringWebOpenApiProcessor
- 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 classesvoid
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, getSupportedOptions, getSupportedSourceVersion, getTags, init, initializeFromProperties, isClassAvailable, readOpenApiFile, runPostProcessors
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
Constructor Details
-
SpringWebOpenApiProcessor
public SpringWebOpenApiProcessor()
-
-
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.
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-