Skip to content

Commit

Permalink
Change minItems of oneOf and anyOf to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Z5eyhS0uubejR0SVmX2O authored Feb 2, 2021
1 parent 889ab76 commit 8f9db7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schemas/2.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,14 +399,14 @@
},
"oneOf": {
"type": "array",
"minItems": 2,
"minItems": 1,
"items": {
"$ref": "#/definitions/schema"
}
},
"anyOf": {
"type": "array",
"minItems": 2,
"minItems": 1,
"items": {
"$ref": "#/definitions/schema"
}
Expand Down Expand Up @@ -1370,4 +1370,4 @@
}
}
}
}
}

0 comments on commit 8f9db7a

Please sign in to comment.