java.lang.Object
com.fasterxml.jackson.module.jsonSchema.jakarta.JsonSchema
com.fasterxml.jackson.module.jsonSchema.jakarta.types.UnionTypeSchema

public class UnionTypeSchema extends JsonSchema
This class represents a JsonSchema as a Union Type Schema: "An array of two or more simple type definitions. Each item in the array MUST be a simple type definition or a schema. The instance value is valid if it is of the same type as one of the simple type definitions, or valid by one of the schemas, in
  • Field Details

  • Constructor Details

    • UnionTypeSchema

      public UnionTypeSchema()
  • Method Details