Interface CustomDefinitionProvider
-
- All Superinterfaces:
CustomDefinitionProviderV2
@Deprecated public interface CustomDefinitionProvider extends CustomDefinitionProviderV2
Deprecated.useCustomDefinitionProviderV2
insteadProvider of non-standard JSON schema definitions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default CustomDefinition
provideCustomSchemaDefinition(com.fasterxml.classmate.ResolvedType javaType, SchemaGenerationContext context)
Deprecated.Look-up the non-standard JSON schema definition for a given type.CustomDefinition
provideCustomSchemaDefinition(com.fasterxml.classmate.ResolvedType javaType, TypeContext context)
Deprecated.Look-up the non-standard JSON schema definition for a given type.
-
-
-
Method Detail
-
provideCustomSchemaDefinition
CustomDefinition provideCustomSchemaDefinition(com.fasterxml.classmate.ResolvedType javaType, TypeContext context)
Deprecated.Look-up the non-standard JSON schema definition for a given type. If it returns null, the next definition provider is expected to be applied.- Parameters:
javaType
- generic type to provide custom definition forcontext
- overall type resolution context being used- Returns:
- non-standard JSON schema definition (may be null)
-
provideCustomSchemaDefinition
default CustomDefinition provideCustomSchemaDefinition(com.fasterxml.classmate.ResolvedType javaType, SchemaGenerationContext context)
Deprecated.Description copied from interface:CustomDefinitionProviderV2
Look-up the non-standard JSON schema definition for a given type. If it returns null, the next definition provider is expected to be applied.- Specified by:
provideCustomSchemaDefinition
in interfaceCustomDefinitionProviderV2
- Parameters:
javaType
- generic type to provide custom definition forcontext
- generation context allowing to let the standard generation take over nested parts of the custom definition- Returns:
- non-standard JSON schema definition (may be null)
-
-