Skip to content

Commit

Permalink
fix: change minItems of oneOf and anyOf to 1 (#41)
Browse files Browse the repository at this point in the history
* Change minItems of oneOf and anyOf to 1
asyncapi/spec#492
* Add explicit lack of linter to fix PR Action
  • Loading branch information
Z5eyhS0uubejR0SVmX2O authored Feb 4, 2021
1 parent 9d4e9d4 commit 37c2e10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"get:version": "echo $npm_package_version",
"get:name": "echo $npm_package_name",
"generate:assets": "echo 'No additional assets need to be generated at the moment'",
"lint": "echo 'No linter integrated yet'",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 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

0 comments on commit 37c2e10

Please sign in to comment.