Skip to content

Commit

Permalink
x- can just be true
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Sturgeon committed Jun 26, 2019
1 parent 0967d49 commit 2ceaad8
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 65 deletions.
94 changes: 31 additions & 63 deletions schemas/v3.1/meta/oas.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"unevaluatedProperties": false,
"$defs": {
"Discriminator": {
"type": "object",
Expand Down Expand Up @@ -72,8 +70,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"unevaluatedProperties": false
}
Expand Down Expand Up @@ -118,8 +115,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -139,8 +135,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -159,8 +154,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -184,8 +178,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -209,8 +202,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -354,8 +346,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -405,8 +396,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -446,8 +436,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false,
"allOf": [
Expand All @@ -473,8 +462,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -545,8 +533,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false,
"allOf": [
Expand All @@ -564,8 +551,7 @@
"^\\/": {
"$ref": "#/$defs/PathItem"
},
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -606,8 +592,7 @@
"^(get|put|post|delete|options|head|patch|trace)$": {
"$ref": "#/$defs/Operation"
},
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -693,8 +678,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -723,8 +707,7 @@
}
]
},
"^x-": {
}
"^x-": true
},
"minProperties": 1,
"additionalProperties": false
Expand Down Expand Up @@ -755,8 +738,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -775,8 +757,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -917,8 +898,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false,
"required": [
Expand Down Expand Up @@ -1040,8 +1020,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -1091,8 +1070,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -1120,8 +1098,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false,
"oneOf": [
Expand Down Expand Up @@ -1175,8 +1152,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -1202,8 +1178,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -1224,8 +1199,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -1252,8 +1226,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -1279,8 +1252,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand All @@ -1306,8 +1278,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -1338,8 +1309,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
},
Expand Down Expand Up @@ -1368,8 +1338,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false,
"not": {
Expand All @@ -1386,8 +1355,7 @@
"$ref": "#/$defs/PathItem"
},
"patternProperties": {
"^x-": {
}
"^x-": true
}
},
"Encoding": {
Expand Down
3 changes: 1 addition & 2 deletions schemas/v3.1/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
}
},
"patternProperties": {
"^x-": {
}
"^x-": true
},
"additionalProperties": false
}

0 comments on commit 2ceaad8

Please sign in to comment.