Class RouteSchemaGenerator
-
- All Implemented Interfaces:
-
javax.annotation.processing.Processor
@AutoService(value = {Processor.class})@SupportedSourceVersion(value = SourceVersion.RELEASE_8)@SupportedOptions(value = {"kapt.kotlin.generated", "swagger.apiVersion", "swagger.title", "swagger.description", "swagger.host", "swagger.basePath", "swagger.sampleResultDir", "swagger.outputFile", "swagger.cmpSchemaDir", "default.produces", "default.consumes"}) public final class RouteSchemaGenerator extends AbstractProcessor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKAPT_KOTLIN_GENERATED_OPTION_NAMEpublic final static StringSWAGGER_API_VERSIONpublic final static StringSWAGGER_TITLEpublic final static StringSWAGGER_DESCRIPTIONpublic final static StringSWAGGER_HOSTpublic final static StringSWAGGER_BASEPATHpublic final static StringSWAGGER_SAMPLE_RESULT_DIRpublic final static StringSWAGGER_OUTPUT_FILEpublic final static StringSWAGGER_CMP_SCHEMA_DIRpublic final static StringDEFAULT_PRODUCESpublic final static StringDEFAULT_CONSUMES
-
Constructor Summary
Constructors Constructor Description RouteSchemaGenerator()
-
Method Summary
Modifier and Type Method Description Set<String>getSupportedAnnotationTypes()Booleanprocess(Set<TypeElement> annotations, RoundEnvironment roundEnv)-
-
Method Detail
-
getSupportedAnnotationTypes
Set<String> getSupportedAnnotationTypes()
-
process
Boolean process(Set<TypeElement> annotations, RoundEnvironment roundEnv)
-
-
-
-