OasSchema.oneOf

This keyword's value MUST be an array. This array MUST have at least one element.

Elements of the array MUST be objects. Each object MUST be a valid JSON Schema.

An instance validates successfully against this keyword if it validates successfully against exactly one schema defined by this keyword's value.

Inline or referenced schema MUST be of a Schema Object and not a standard JSON Schema.

class OasSchema
@jsonOptional
OasSchema[] oneOf;

See Also

Meta