Skip to content

Commit 2ceaad8

Browse files
author
Phil Sturgeon
committed
x- can just be true
1 parent 0967d49 commit 2ceaad8

File tree

2 files changed

+32
-65
lines changed

2 files changed

+32
-65
lines changed

schemas/v3.1/meta/oas.json

Lines changed: 31 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@
2727
}
2828
},
2929
"patternProperties": {
30-
"^x-": {
31-
}
30+
"^x-": true
3231
},
33-
"unevaluatedProperties": false,
3432
"$defs": {
3533
"Discriminator": {
3634
"type": "object",
@@ -72,8 +70,7 @@
7270
}
7371
},
7472
"patternProperties": {
75-
"^x-": {
76-
}
73+
"^x-": true
7774
},
7875
"unevaluatedProperties": false
7976
}
@@ -118,8 +115,7 @@
118115
}
119116
},
120117
"patternProperties": {
121-
"^x-": {
122-
}
118+
"^x-": true
123119
},
124120
"additionalProperties": false
125121
},
@@ -139,8 +135,7 @@
139135
}
140136
},
141137
"patternProperties": {
142-
"^x-": {
143-
}
138+
"^x-": true
144139
},
145140
"additionalProperties": false
146141
},
@@ -159,8 +154,7 @@
159154
}
160155
},
161156
"patternProperties": {
162-
"^x-": {
163-
}
157+
"^x-": true
164158
},
165159
"additionalProperties": false
166160
},
@@ -184,8 +178,7 @@
184178
}
185179
},
186180
"patternProperties": {
187-
"^x-": {
188-
}
181+
"^x-": true
189182
},
190183
"additionalProperties": false
191184
},
@@ -209,8 +202,7 @@
209202
}
210203
},
211204
"patternProperties": {
212-
"^x-": {
213-
}
205+
"^x-": true
214206
},
215207
"additionalProperties": false
216208
},
@@ -354,8 +346,7 @@
354346
}
355347
},
356348
"patternProperties": {
357-
"^x-": {
358-
}
349+
"^x-": true
359350
},
360351
"additionalProperties": false
361352
},
@@ -405,8 +396,7 @@
405396
}
406397
},
407398
"patternProperties": {
408-
"^x-": {
409-
}
399+
"^x-": true
410400
},
411401
"additionalProperties": false
412402
},
@@ -446,8 +436,7 @@
446436
}
447437
},
448438
"patternProperties": {
449-
"^x-": {
450-
}
439+
"^x-": true
451440
},
452441
"additionalProperties": false,
453442
"allOf": [
@@ -473,8 +462,7 @@
473462
}
474463
},
475464
"patternProperties": {
476-
"^x-": {
477-
}
465+
"^x-": true
478466
},
479467
"additionalProperties": false
480468
},
@@ -545,8 +533,7 @@
545533
}
546534
},
547535
"patternProperties": {
548-
"^x-": {
549-
}
536+
"^x-": true
550537
},
551538
"additionalProperties": false,
552539
"allOf": [
@@ -564,8 +551,7 @@
564551
"^\\/": {
565552
"$ref": "#/$defs/PathItem"
566553
},
567-
"^x-": {
568-
}
554+
"^x-": true
569555
},
570556
"additionalProperties": false
571557
},
@@ -606,8 +592,7 @@
606592
"^(get|put|post|delete|options|head|patch|trace)$": {
607593
"$ref": "#/$defs/Operation"
608594
},
609-
"^x-": {
610-
}
595+
"^x-": true
611596
},
612597
"additionalProperties": false
613598
},
@@ -693,8 +678,7 @@
693678
}
694679
},
695680
"patternProperties": {
696-
"^x-": {
697-
}
681+
"^x-": true
698682
},
699683
"additionalProperties": false
700684
},
@@ -723,8 +707,7 @@
723707
}
724708
]
725709
},
726-
"^x-": {
727-
}
710+
"^x-": true
728711
},
729712
"minProperties": 1,
730713
"additionalProperties": false
@@ -755,8 +738,7 @@
755738
}
756739
},
757740
"patternProperties": {
758-
"^x-": {
759-
}
741+
"^x-": true
760742
},
761743
"additionalProperties": false
762744
},
@@ -775,8 +757,7 @@
775757
}
776758
},
777759
"patternProperties": {
778-
"^x-": {
779-
}
760+
"^x-": true
780761
},
781762
"additionalProperties": false
782763
},
@@ -917,8 +898,7 @@
917898
}
918899
},
919900
"patternProperties": {
920-
"^x-": {
921-
}
901+
"^x-": true
922902
},
923903
"additionalProperties": false,
924904
"required": [
@@ -1040,8 +1020,7 @@
10401020
}
10411021
},
10421022
"patternProperties": {
1043-
"^x-": {
1044-
}
1023+
"^x-": true
10451024
},
10461025
"additionalProperties": false
10471026
},
@@ -1091,8 +1070,7 @@
10911070
}
10921071
},
10931072
"patternProperties": {
1094-
"^x-": {
1095-
}
1073+
"^x-": true
10961074
},
10971075
"additionalProperties": false
10981076
},
@@ -1120,8 +1098,7 @@
11201098
}
11211099
},
11221100
"patternProperties": {
1123-
"^x-": {
1124-
}
1101+
"^x-": true
11251102
},
11261103
"additionalProperties": false,
11271104
"oneOf": [
@@ -1175,8 +1152,7 @@
11751152
}
11761153
},
11771154
"patternProperties": {
1178-
"^x-": {
1179-
}
1155+
"^x-": true
11801156
},
11811157
"additionalProperties": false
11821158
},
@@ -1202,8 +1178,7 @@
12021178
}
12031179
},
12041180
"patternProperties": {
1205-
"^x-": {
1206-
}
1181+
"^x-": true
12071182
},
12081183
"additionalProperties": false
12091184
},
@@ -1224,8 +1199,7 @@
12241199
}
12251200
},
12261201
"patternProperties": {
1227-
"^x-": {
1228-
}
1202+
"^x-": true
12291203
},
12301204
"additionalProperties": false
12311205
},
@@ -1252,8 +1226,7 @@
12521226
}
12531227
},
12541228
"patternProperties": {
1255-
"^x-": {
1256-
}
1229+
"^x-": true
12571230
},
12581231
"additionalProperties": false
12591232
},
@@ -1279,8 +1252,7 @@
12791252
}
12801253
},
12811254
"patternProperties": {
1282-
"^x-": {
1283-
}
1255+
"^x-": true
12841256
},
12851257
"additionalProperties": false
12861258
},
@@ -1306,8 +1278,7 @@
13061278
}
13071279
},
13081280
"patternProperties": {
1309-
"^x-": {
1310-
}
1281+
"^x-": true
13111282
},
13121283
"additionalProperties": false
13131284
},
@@ -1338,8 +1309,7 @@
13381309
}
13391310
},
13401311
"patternProperties": {
1341-
"^x-": {
1342-
}
1312+
"^x-": true
13431313
},
13441314
"additionalProperties": false
13451315
},
@@ -1368,8 +1338,7 @@
13681338
}
13691339
},
13701340
"patternProperties": {
1371-
"^x-": {
1372-
}
1341+
"^x-": true
13731342
},
13741343
"additionalProperties": false,
13751344
"not": {
@@ -1386,8 +1355,7 @@
13861355
"$ref": "#/$defs/PathItem"
13871356
},
13881357
"patternProperties": {
1389-
"^x-": {
1390-
}
1358+
"^x-": true
13911359
}
13921360
},
13931361
"Encoding": {

schemas/v3.1/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
}
5454
},
5555
"patternProperties": {
56-
"^x-": {
57-
}
56+
"^x-": true
5857
},
5958
"additionalProperties": false
6059
}

0 commit comments

Comments
 (0)