Class CustomPropertyDefinition

java.lang.Object
com.github.victools.jsonschema.generator.CustomDefinition
com.github.victools.jsonschema.generator.CustomPropertyDefinition

public final class CustomPropertyDefinition extends CustomDefinition
The result of a custom definition look-up for a particular field/method.
  • Constructor Details

    • CustomPropertyDefinition

      public CustomPropertyDefinition(tools.jackson.databind.node.ObjectNode value)
      Constructor for a custom property definition.
      This is equivalent to calling new 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 definition
      attributeInclusion - whether additional attributes should be applied on top of this custom definition