Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ANNOTATION_METHOD_CLASS_NAME_DELIMITER - Static variable in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
-
The delimiter as described by
AnnotationJsonSerializer.CURRENT_ANNOTATION_METHOD:"#" - AnnotationJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation
-
AnnotationJsonSerializeris aJsonSerializerforAnnotationthat uses reflection to invoke theClass.getDeclaredMethods()of theAnnotation.annotationType()and uses reflection to handleSerializedName,AnnotationJsonIgnore,AnnotationJsonSerializeEmptyArray,AnnotationJsonObjectInline,AnnotationArrayIsNullableValue,AnnotationJsonRawString,AnnotationArrayIsMap, andAnnotationArrayIsMapKey. - AnnotationJsonSerializer(Set) - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
-
Creates a new
AnnotationJsonSerializerinstance. - apply(Project) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsPlugin
- applyToConfigBuilder(SchemaGeneratorConfigBuilder) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson.GsonSchemaModule
- applyToConfigBuilder(SchemaGeneratorConfigBuilder) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.nullable.NullableSchemaModule
- applyToConfigBuilder(SchemaGeneratorConfigBuilder) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname.SchemaNameSchemaModule
B
- BOTH - Enum constant in enum class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension.GenerateOperationId
-
If not already provided, generate
OpenApiOperation.operationId()using theJetOpenApiAnnotationsExtension.GenerateOperationId.FROM_CLASS_METHOD_NAMEconfiguration and ensuring the generated value is equal to the generated value of theJetOpenApiAnnotationsExtension.GenerateOperationId.FROM_METHOD_AND_PATHconfiguration. - BUILD_OUTPUT_DEFAULT_DIRECTORY_NAME - Static variable in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsPlugin
-
The build output default directory name
JetOpenApiAnnotationsTask.getOutputDirectory():"jet-openapi-annotations"
C
- combine(JsonElement, JsonElement) - Static method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.GsonUtil
-
Recursively combines the given
aJsonObjectorJsonArraywith the givenbJsonObjectorJsonArrayinto a newJsonObjectorJsonArray. - CURRENT_ANNOTATION_METHOD - Static variable in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
D
- DISABLED - Enum constant in enum class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension.GenerateOperationId
-
Do not generate
OpenApiOperation.operationId().
E
- EmptyStringIsNullJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.string
-
EmptyStringIsNullJsonSerializeris aStringJsonSerializerthat treatsString.isEmpty()asJsonNull. - EmptyStringIsNullJsonSerializer() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.string.EmptyStringIsNullJsonSerializer
- EnumSerializedNameCustomDefinitionProvider - Class in net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson
-
EnumSerializedNameCustomDefinitionProvideris aCustomDefinitionProviderV2to supportSerializedNameonEnumfields. - EnumSerializedNameCustomDefinitionProvider() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson.EnumSerializedNameCustomDefinitionProvider
- EXTENSION_NAME - Static variable in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsPlugin
-
The name used for
JetOpenApiAnnotationsExtension:"jetOpenApiAnnotations"
F
- FROM_CLASS_METHOD_NAME - Enum constant in enum class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension.GenerateOperationId
-
If not already provided, generate
OpenApiOperation.operationId()using the name of the class method annotated with theOpenApiannotation. - FROM_METHOD_AND_PATH - Enum constant in enum class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension.GenerateOperationId
-
If not already provided, generate
OpenApiOperation.operationId()by concatenatingOpenApiPathItem.methods()with the lower-camelcase conversion of the path segments ofOpenApiPathItem.MapEntry.key()after the index ofOpenApiOperation.tags().
G
- generateSchemaToGson(SchemaGenerator, Type, Type...) - Static method in class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.SchemaGeneratorUtil
- generateSchemaToGsonAndInlineSingleSimpleTypeDef(SchemaGenerator, Type, Type...) - Static method in class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.SchemaGeneratorUtil
- getDefinitionNameForKey(DefinitionKey, SchemaGenerationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname.SchemaNameDefinitionNamingStrategy
- getGenerateOperationId() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
For the
JetOpenApiAnnotationsTask, set theJetOpenApiAnnotationsExtension.GenerateOperationIdconfiguration. - getGenerateOperationId() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getJavaCompileTasks() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
The
JavaCompiletasks that are used to read compiled class files and classpaths from inJetOpenApiAnnotationsTask. - getJavaCompileTasks() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getMoveClassSchemasToComponents() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
For the
JetOpenApiAnnotationsTask, set totrueto move the JSON schema generated fromOpenApiSchema.fromClass()toOpenApiComponents.schemas(), set tofalseotherwise. - getMoveClassSchemasToComponents() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getOpenApisOfMethods() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.OpenApiJsonSerializer
-
A
MapofOpenApiannotations mapped to their annotatedMethodused to setAnnotationJsonSerializer.CURRENT_ANNOTATION_METHOD. - getOutputDirectory() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
The
JetOpenApiAnnotationsTaskoutput directory. - getOutputDirectory() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getOutputDirectoryIncludeInJar() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
Set to
trueto include theJetOpenApiAnnotationsExtension.getOutputDirectory()in eachJarTask, set tofalseotherwise. - getSchemaGeneratorConfigBuilderProvider() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
- getSchemaGeneratorConfigBuilderProvider() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getSchemaGeneratorSimpleTypeMappings() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
For the
JetOpenApiAnnotationsTask, aMapcontaining simple type mappings with the fully qualified class name as the key and the raw JSON schema as the value. - getSchemaGeneratorSimpleTypeMappings() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getSchemaGeneratorUseGsonModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
- getSchemaGeneratorUseGsonModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getSchemaGeneratorUseJacksonModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
For the
JetOpenApiAnnotationsTask, set totrueto use theJacksonSchemaModule, set tofalseotherwise. - getSchemaGeneratorUseJacksonModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getSchemaGeneratorUseNullableModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
For the
JetOpenApiAnnotationsTask, set totrueto use theNullableSchemaModule, set tofalseotherwise. - getSchemaGeneratorUseNullableModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getSchemaGeneratorUseSchemaNameModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
For the
JetOpenApiAnnotationsTask, set totrueto use theSchemaNameSchemaModule, set tofalseotherwise. - getSchemaGeneratorUseSchemaNameModule() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getSchemaValidation() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
-
For the
JetOpenApiAnnotationsTask, set totrueto validate the OpenAPI specification JSON output generated fromOpenApiannotations using theOpenApi.DEFAULT_$SCHEMA, set tofalseotherwise. - getSchemaValidation() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- getTracerClasses() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
-
The
SetofAnnotationClasses to insert aAnnotationJsonSerializer.JSON_KEY_CLASS_TRACERproperty into the serializedJsonObjectwith the value ofClass.getCanonicalName(). - GsonSchemaModule - Class in net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson
- GsonSchemaModule() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson.GsonSchemaModule
- GsonUtil - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson
-
GsonUtilis a utility class forGson.
H
- HeaderJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum
- HeaderJsonSerializer() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum.HeaderJsonSerializer
J
- JetOpenApiAnnotationsExtension - Class in net.jacobpeterson.jet.openapiannotationsplugin
-
JetOpenApiAnnotationsExtensionis a Gradle extension forJetOpenApiAnnotationsPlugin. - JetOpenApiAnnotationsExtension() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension
- JetOpenApiAnnotationsExtension.GenerateOperationId - Enum Class in net.jacobpeterson.jet.openapiannotationsplugin
- JetOpenApiAnnotationsPlugin - Class in net.jacobpeterson.jet.openapiannotationsplugin
- JetOpenApiAnnotationsPlugin() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsPlugin
- JetOpenApiAnnotationsTask - Class in net.jacobpeterson.jet.openapiannotationsplugin
- JetOpenApiAnnotationsTask() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
- JSON_KEY_CLASS_TRACER - Static variable in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
-
The JSON key name for
AnnotationJsonSerializer.getTracerClasses():"__AnnotationJsonSerializer.JSON_KEY_CLASS_TRACER__" - JSON_KEY_METHOD_TRACER - Static variable in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
-
The JSON key name for
AnnotationJsonSerializer.CURRENT_ANNOTATION_METHOD:"__AnnotationJsonSerializer.JSON_KEY_METHOD_TRACER__"
M
- MethodJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum
- MethodJsonSerializer() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum.MethodJsonSerializer
N
- net.jacobpeterson.jet.openapiannotationsplugin - package net.jacobpeterson.jet.openapiannotationsplugin
- net.jacobpeterson.jet.openapiannotationsplugin.gson - package net.jacobpeterson.jet.openapiannotationsplugin.gson
- net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation - package net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation
- net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum - package net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum
- net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.string - package net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.string
- net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator - package net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator
- net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson - package net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson
- net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.nullable - package net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.nullable
- net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname - package net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname
- NullableSchemaModule - Class in net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.nullable
-
NullableSchemaModuleis aModulethat usesNullableUtil.isFieldNullable(Field)forSchemaGeneratorConfigPart.withRequiredCheck(Predicate). - NullableSchemaModule() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.nullable.NullableSchemaModule
O
- OpenApiJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation
- OpenApiJsonSerializer(Map) - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.OpenApiJsonSerializer
-
Creates a new
OpenApiJsonSerializerinstance. - OpenApiPathItemJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation
- OpenApiPathItemJsonSerializer() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.OpenApiPathItemJsonSerializer
- OpenApiSchemaJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation
- OpenApiSchemaJsonSerializer(SchemaGenerator) - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.OpenApiSchemaJsonSerializer
P
- provide() - Method in interface net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.SchemaGeneratorConfigBuilderProvider
- provideCustomSchemaDefinition(ResolvedType, SchemaGenerationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson.EnumSerializedNameCustomDefinitionProvider
R
- removeTracers(JsonObject) - Static method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
-
Removes all
AnnotationJsonSerializer.JSON_KEY_CLASS_TRACERandAnnotationJsonSerializer.JSON_KEY_METHOD_TRACERkeys from the givenJsonObject. - run() - Method in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsTask
S
- SchemaGeneratorConfigBuilderProvider - Interface in net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator
-
SchemaGeneratorConfigBuilderProvideris aFunctionalInterfaceto provide aSchemaGeneratorConfigBuilder. - SchemaGeneratorUtil - Class in net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator
-
SchemaGeneratorUtilis a utility class forSchemaGenerator. - SchemaNameDefinitionNamingStrategy - Class in net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname
-
SchemaNameDefinitionNamingStrategyis aSchemaDefinitionNamingStrategythat usesSchemaNameUtil.getFullSchemaName(Class). - SchemaNameDefinitionNamingStrategy() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname.SchemaNameDefinitionNamingStrategy
- SchemaNameSchemaModule - Class in net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname
-
SchemaNameSchemaModuleis aModulethat setsSchemaGeneratorGeneralConfigPart.withDefinitionNamingStrategy(SchemaDefinitionNamingStrategy)toSchemaNameDefinitionNamingStrategy. - SchemaNameSchemaModule() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.schemaname.SchemaNameSchemaModule
- serialize(Annotation, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
- serialize(String, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.string.EmptyStringIsNullJsonSerializer
- serialize(Header, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum.HeaderJsonSerializer
- serialize(Method, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum.MethodJsonSerializer
- serialize(Status, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum.StatusJsonSerializer
- serialize(OpenApiPathItem, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.OpenApiPathItemJsonSerializer
- serialize(OpenApi, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.OpenApiJsonSerializer
- serialize(OpenApiSchema, Type, JsonSerializationContext) - Method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.OpenApiSchemaJsonSerializer
- StatusJsonSerializer - Class in net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum
- StatusJsonSerializer() - Constructor for class net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.commonenum.StatusJsonSerializer
T
- TASK_NAME - Static variable in class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsPlugin
-
The name used for
JetOpenApiAnnotationsTask:"jetOpenApiAnnotations"
V
- valueOf(String) - Static method in enum class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension.GenerateOperationId
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.jacobpeterson.jet.openapiannotationsplugin.JetOpenApiAnnotationsExtension.GenerateOperationId
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- walk(JsonElement, Function) - Static method in class net.jacobpeterson.jet.openapiannotationsplugin.gson.GsonUtil
-
Recursively walks the given
JsonElementtree.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form