Commit 84ea4a0 1 parent 5cde0f0 commit 84ea4a0 Copy full SHA for 84ea4a0
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 258
258
}
259
259
},
260
260
"patternProperties" : {
261
- "^schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems$" : {
261
+ "^( schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems) $" : {
262
262
"$comment" : " Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected" ,
263
263
"propertyNames" : {
264
264
"pattern" : " ^[a-zA-Z0-9._-]+$"
301
301
}
302
302
},
303
303
"patternProperties" : {
304
- "^get|post|delete|options|head|patch|trace$" : {
304
+ "^( get|post|delete|options|head|patch|trace) $" : {
305
305
"$ref" : " #/$defs/operation"
306
306
}
307
307
},
763
763
}
764
764
},
765
765
"patternProperties" : {
766
- "[1-5][0-9X]{2}" : {
766
+ "^ [1-5][0-9X]{2}$ " : {
767
767
"$ref" : " #/$defs/response-or-reference"
768
768
}
769
769
},
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ $defs:
176
176
additionalProperties :
177
177
$ref : ' #/$defs/path-item-or-reference'
178
178
patternProperties :
179
- ' ^schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems$ ' :
179
+ ' ^( schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems) $ ' :
180
180
$comment : Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected
181
181
propertyNames :
182
182
pattern : ' ^[a-zA-Z0-9._-]+$'
@@ -207,7 +207,7 @@ $defs:
207
207
items :
208
208
$ref : ' #/$defs/parameter-or-reference'
209
209
patternProperties :
210
- ' ^get|post|delete|options|head|patch|trace$ ' :
210
+ ' ^( get|post|delete|options|head|patch|trace) $ ' :
211
211
$ref : ' #/$defs/operation'
212
212
$ref : ' #/$defs/specification-extensions'
213
213
unevaluatedProperties : false
@@ -510,7 +510,7 @@ $defs:
510
510
default :
511
511
$ref : ' #/$defs/response-or-reference'
512
512
patternProperties :
513
- ' [1-5][0-9X]{2} ' :
513
+ ' ^ [1-5][0-9X]{2}$ ' :
514
514
$ref : ' #/$defs/response-or-reference'
515
515
$ref : ' #/$defs/specification-extensions'
516
516
unevaluatedProperties : false
You can’t perform that action at this time.
0 commit comments