Skip to content

Commit

Permalink
fix: schema should not enforce minProperties (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Aug 7, 2020
1 parent a3f9a64 commit 3fd26a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions versions/2.0.0/schema.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 @@ -1281,8 +1279,7 @@
]
}
},
"additionalProperties": false,
"minProperties": 1
"additionalProperties": false
}
},
"patternProperties": {
Expand Down

0 comments on commit 3fd26a0

Please sign in to comment.