Interface TypeAttributeOverrideV2
-
- All Known Subinterfaces:
TypeAttributeOverride
public interface TypeAttributeOverrideV2Entry point for customising the JSON Schema attributes being collected for a type in general, i.e. the part that may be referenced multiple times.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidoverrideTypeAttributes(com.fasterxml.jackson.databind.node.ObjectNode collectedTypeAttributes, TypeScope scope, SchemaGenerationContext context)Add/remove attributes on the given JSON Schema node – this is specifically intended for attributes relating to the type in general.
-
-
-
Method Detail
-
overrideTypeAttributes
void overrideTypeAttributes(com.fasterxml.jackson.databind.node.ObjectNode collectedTypeAttributes, TypeScope scope, SchemaGenerationContext context)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:
collectedTypeAttributes- node to modify (the part that may be referenced multiple times)scope- the type representation associated with the JSON Schema nodecontext- generation context
-
-