Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1157 from finos/fix-json-schema-for-anyOf
Browse files Browse the repository at this point in the history
Improve error message when allOf or anyOf have fewer than two children
  • Loading branch information
ms14981 authored Jul 26, 2019
2 parents 6925c33 + f4eb627 commit a6c0a21
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,22 +117,22 @@
"constraint": {
"oneOf": [
{
"$ref": "#/definitions/dataConstraint"
"$ref": "#/definitions/anyOfConstraint"
},
{
"$ref": "#/definitions/nullConstraint"
"$ref": "#/definitions/allOfConstraint"
},
{
"$ref": "#/definitions/inSetConstraint"
"$ref": "#/definitions/dataConstraint"
},
{
"$ref": "#/definitions/notConstraint"
"$ref": "#/definitions/nullConstraint"
},
{
"$ref": "#/definitions/anyOfConstraint"
"$ref": "#/definitions/inSetConstraint"
},
{
"$ref": "#/definitions/allOfConstraint"
"$ref": "#/definitions/notConstraint"
},
{
"$ref": "#/definitions/ifThenConstraint"
Expand Down

0 comments on commit a6c0a21

Please sign in to comment.