Interface TypeAttributeOverride
-
- All Superinterfaces:
StatefulConfig,TypeAttributeOverrideV2
@Deprecated public interface TypeAttributeOverride extends TypeAttributeOverrideV2
Deprecated.useTypeAttributeOverrideV2insteadEntry point for customising a JSON Schema being generated for a particular java type, i.e. the part that may be referenced multiple times.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidoverrideTypeAttributes(com.fasterxml.jackson.databind.node.ObjectNode collectedTypeAttributes, TypeScope scope, SchemaGenerationContext context)Deprecated.Add/remove attributes on the given JSON Schema node - this is specifically intended for attributes relating to the type in general.voidoverrideTypeAttributes(com.fasterxml.jackson.databind.node.ObjectNode jsonSchemaTypeNode, TypeScope scope, SchemaGeneratorConfig config)Deprecated.Add/remove attributes on the given JSON Schema node - this is specifically intended for attributes relating to the type in general.-
Methods inherited from interface com.github.victools.jsonschema.generator.StatefulConfig
resetAfterSchemaGenerationFinished
-
-
-
-
Method Detail
-
overrideTypeAttributes
void overrideTypeAttributes(com.fasterxml.jackson.databind.node.ObjectNode jsonSchemaTypeNode, TypeScope scope, SchemaGeneratorConfig config)Deprecated.Add/remove attributes on the given JSON Schema node - this is specifically intended for attributes relating to the type in general.
E.g.SchemaKeyword.TAG_FORMAT,SchemaKeyword.TAG_PATTERN,SchemaKeyword.TAG_REQUIRED- Parameters:
jsonSchemaTypeNode- node to modify (the part that may be referenced multiple times)scope- the type representation associated with the JSON Schema nodeconfig- applicable configuration
-
overrideTypeAttributes
default void overrideTypeAttributes(com.fasterxml.jackson.databind.node.ObjectNode collectedTypeAttributes, TypeScope scope, SchemaGenerationContext context)Deprecated.Description copied from interface:TypeAttributeOverrideV2Add/remove attributes on the given JSON Schema node - this is specifically intended for attributes relating to the type in general.
E.g.SchemaKeyword.TAG_FORMAT,SchemaKeyword.TAG_PATTERN,SchemaKeyword.TAG_REQUIRED- Specified by:
overrideTypeAttributesin interfaceTypeAttributeOverrideV2- Parameters:
collectedTypeAttributes- node to modify (the part that may be referenced multiple times)scope- the type representation associated with the JSON Schema nodecontext- generation context
-
-