Skip to content

Commit 88f4b7a

Browse files
committed
Add "put" to allowed property name for PathItem in 3.1 schema
1 parent 54b0264 commit 88f4b7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schemas/v3.1/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
}
305305
},
306306
"patternProperties": {
307-
"^(get|post|delete|options|head|patch|trace)$": {
307+
"^(get|put|post|delete|options|head|patch|trace)$": {
308308
"$ref": "#/$defs/operation"
309309
}
310310
},

schemas/v3.1/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ $defs:
209209
items:
210210
$ref: '#/$defs/parameter-or-reference'
211211
patternProperties:
212-
'^(get|post|delete|options|head|patch|trace)$':
212+
'^(get|put|post|delete|options|head|patch|trace)$':
213213
$ref: '#/$defs/operation'
214214
$ref: '#/$defs/specification-extensions'
215215
unevaluatedProperties: false

0 commit comments

Comments
 (0)