File tree 2 files changed +38
-6
lines changed 2 files changed +38
-6
lines changed Original file line number Diff line number Diff line change 319
319
"items" : {
320
320
"$ref" : " #/$defs/parameter-or-reference"
321
321
}
322
- }
323
- },
324
- "patternProperties" : {
325
- "^(get|put|post|delete|options|head|patch|trace)$" : {
322
+ },
323
+ "get" : {
324
+ "$ref" : " #/$defs/operation"
325
+ },
326
+ "put" : {
327
+ "$ref" : " #/$defs/operation"
328
+ },
329
+ "post" : {
330
+ "$ref" : " #/$defs/operation"
331
+ },
332
+ "delete" : {
333
+ "$ref" : " #/$defs/operation"
334
+ },
335
+ "options" : {
336
+ "$ref" : " #/$defs/operation"
337
+ },
338
+ "head" : {
339
+ "$ref" : " #/$defs/operation"
340
+ },
341
+ "patch" : {
342
+ "$ref" : " #/$defs/operation"
343
+ },
344
+ "trace" : {
326
345
"$ref" : " #/$defs/operation"
327
346
}
328
347
},
Original file line number Diff line number Diff line change @@ -226,8 +226,21 @@ $defs:
226
226
type : array
227
227
items :
228
228
$ref : ' #/$defs/parameter-or-reference'
229
- patternProperties :
230
- ' ^(get|put|post|delete|options|head|patch|trace)$ ' :
229
+ get :
230
+ $ref : ' #/$defs/operation'
231
+ put :
232
+ $ref : ' #/$defs/operation'
233
+ post :
234
+ $ref : ' #/$defs/operation'
235
+ delete :
236
+ $ref : ' #/$defs/operation'
237
+ options :
238
+ $ref : ' #/$defs/operation'
239
+ head :
240
+ $ref : ' #/$defs/operation'
241
+ patch :
242
+ $ref : ' #/$defs/operation'
243
+ trace :
231
244
$ref : ' #/$defs/operation'
232
245
$ref : ' #/$defs/specification-extensions'
233
246
unevaluatedProperties : false
You can’t perform that action at this time.
0 commit comments