Class CustomPropertyDefinition
java.lang.Object
com.github.victools.jsonschema.generator.CustomDefinition
com.github.victools.jsonschema.generator.CustomPropertyDefinition
The result of a custom definition look-up for a particular field/method.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.victools.jsonschema.generator.CustomDefinition
CustomDefinition.AttributeInclusion, CustomDefinition.DefinitionType -
Field Summary
Fields inherited from class com.github.victools.jsonschema.generator.CustomDefinition
EXCLUDING_ATTRIBUTES, INCLUDING_ATTRIBUTES, INLINE_DEFINITION -
Constructor Summary
ConstructorsConstructorDescriptionCustomPropertyDefinition(tools.jackson.databind.node.ObjectNode value) Constructor for a custom property definition.CustomPropertyDefinition(tools.jackson.databind.node.ObjectNode value, CustomDefinition.AttributeInclusion attributeInclusion) Constructor for a custom property definition. -
Method Summary
Methods inherited from class com.github.victools.jsonschema.generator.CustomDefinition
getAttributeInclusion, getDefinitionType, getValue, isMeantToBeInline, shouldAlwaysProduceDefinition, shouldIncludeAttributes
-
Constructor Details
-
CustomPropertyDefinition
public CustomPropertyDefinition(tools.jackson.databind.node.ObjectNode value) Constructor for a custom property definition.
This is equivalent to callingnew CustomPropertyDefinition(value, CustomDefinition.AttributeInclusion.YES)- Parameters:
value- generated custom definition
-
CustomPropertyDefinition
public CustomPropertyDefinition(tools.jackson.databind.node.ObjectNode value, CustomDefinition.AttributeInclusion attributeInclusion) Constructor for a custom property definition.- Parameters:
value- generated custom definitionattributeInclusion- whether additional attributes should be applied on top of this custom definition
-