Skip to content

Commit

Permalink
fix: Schema should not enforce minProperties (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Aug 7, 2020
1 parent 0599f7e commit a85b486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.nyc_output
.vscode
coverage
5 changes: 1 addition & 4 deletions schemas/2.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@
"serverVariable": {
"type": "object",
"description": "An object representing a Server Variable for server URL template substitution.",
"minProperties": 1,
"additionalProperties": false,
"patternProperties": {
"^x-[\\w\\d\\.\\-\\_]+$": {
Expand Down Expand Up @@ -479,7 +478,6 @@
"$ref": "#/definitions/specificationExtension"
}
},
"minProperties": 1,
"properties": {
"$ref": {
"$ref": "#/definitions/ReferenceObject"
Expand Down Expand Up @@ -1282,8 +1280,7 @@
]
}
},
"additionalProperties": false,
"minProperties": 1
"additionalProperties": false
}
},
"patternProperties": {
Expand Down

0 comments on commit a85b486

Please sign in to comment.