Skip to content

Commit 54edcf0

Browse files
authored
Merge pull request OAI#2524 from jdesrosiers/fix-path-items-missing-put
Add "put" to allowed property name for PathItem in 3.1 schema
2 parents 54b0264 + 08d22f6 commit 54edcf0

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

schemas/v3.1/schema-base.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"$id": "https://spec.openapis.org/oas/3.1/schema-base/2021-03-02",
2+
"$id": "https://spec.openapis.org/oas/3.1/schema-base/2021-04-15",
33
"$schema": "https://json-schema.org/draft/2020-12/schema",
4-
"$ref": "https://spec.openapis.org/oas/3.1/schema/2021-03-02",
4+
"$ref": "https://spec.openapis.org/oas/3.1/schema/2021-04-15",
55
"properties": {
66
"jsonSchemaDialect": {
77
"$ref": "#/$defs/dialect"

schemas/v3.1/schema-base.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
$id: 'https://spec.openapis.org/oas/3.1/schema-base/2021-03-02'
1+
$id: 'https://spec.openapis.org/oas/3.1/schema-base/2021-04-15'
22
$schema: 'https://json-schema.org/draft/2020-12/schema'
33

4-
$ref: 'https://spec.openapis.org/oas/3.1/schema/2021-03-02'
4+
$ref: 'https://spec.openapis.org/oas/3.1/schema/2021-04-15'
55
properties:
66
jsonSchemaDialect:
77
$ref: '#/$defs/dialect'

schemas/v3.1/schema.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$id": "https://spec.openapis.org/oas/3.1/schema/2021-03-02",
2+
"$id": "https://spec.openapis.org/oas/3.1/schema/2021-04-15",
33
"$schema": "https://json-schema.org/draft/2020-12/schema",
44
"type": "object",
55
"properties": {
@@ -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
},
@@ -1340,4 +1340,4 @@
13401340
}
13411341
}
13421342
}
1343-
}
1343+
}

schemas/v3.1/schema.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$id: 'https://spec.openapis.org/oas/3.1/schema/2021-03-02'
1+
$id: 'https://spec.openapis.org/oas/3.1/schema/2021-04-15'
22
$schema: 'https://json-schema.org/draft/2020-12/schema'
33

44
type: object
@@ -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)