Class EnumSerializedNameCustomDefinitionProvider
java.lang.Object
net.jacobpeterson.jet.openapiannotationsplugin.schemagenerator.module.gson.EnumSerializedNameCustomDefinitionProvider
- All Implemented Interfaces:
com.github.victools.jsonschema.generator.CustomDefinitionProviderV2, com.github.victools.jsonschema.generator.StatefulConfig
@NullMarked
public class EnumSerializedNameCustomDefinitionProvider
extends Object
implements com.github.victools.jsonschema.generator.CustomDefinitionProviderV2
EnumSerializedNameCustomDefinitionProvider is a CustomDefinitionProviderV2 to support
SerializedName on Enum fields.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable com.github.victools.jsonschema.generator.CustomDefinitionprovideCustomSchemaDefinition(com.fasterxml.classmate.ResolvedType javaType, com.github.victools.jsonschema.generator.SchemaGenerationContext context) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.victools.jsonschema.generator.StatefulConfig
resetAfterSchemaGenerationFinished
-
Constructor Details
-
EnumSerializedNameCustomDefinitionProvider
public EnumSerializedNameCustomDefinitionProvider()
-
-
Method Details
-
provideCustomSchemaDefinition
public @Nullable com.github.victools.jsonschema.generator.CustomDefinition provideCustomSchemaDefinition(com.fasterxml.classmate.ResolvedType javaType, com.github.victools.jsonschema.generator.SchemaGenerationContext context) - Specified by:
provideCustomSchemaDefinitionin interfacecom.github.victools.jsonschema.generator.CustomDefinitionProviderV2
-