Interface InstanceAttributeOverrideV2<M extends MemberScope<?,?>>
-
- Type Parameters:
M
- type of the reference/context to modify
- All Known Subinterfaces:
InstanceAttributeOverride<M>
public interface InstanceAttributeOverrideV2<M extends MemberScope<?,?>>
Entry point for customising the JSON Schema attributes being collected for a property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
overrideInstanceAttributes(com.fasterxml.jackson.databind.node.ObjectNode collectedMemberAttributes, M member, SchemaGenerationContext context)
Add/remove attributes on the given JSON Schema node – this is specifically intended for attributes relating to a particular instance.
-
-
-
Method Detail
-
overrideInstanceAttributes
void overrideInstanceAttributes(com.fasterxml.jackson.databind.node.ObjectNode collectedMemberAttributes, M member, SchemaGenerationContext context)
Add/remove attributes on the given JSON Schema node – this is specifically intended for attributes relating to a particular instance.
E.g.SchemaKeyword.TAG_DESCRIPTION
,SchemaKeyword.TAG_MINIMUM
,SchemaKeyword.TAG_MAXIMUM_EXCLUSIVE
- Parameters:
collectedMemberAttributes
- node to modifymember
- reference/context to which the collected attributes in the JSON Schema node are referringcontext
- generation context
-
-