Skip to content

Commit fcdeacd

Browse files
$ref objects are legal in all path-item objects
See #2657 - this was added to the specification but not the schema.
1 parent cd2a3a4 commit fcdeacd

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
@@ -278,7 +278,7 @@
278278
"type": "object",
279279
"patternProperties": {
280280
"^/": {
281-
"$ref": "#/$defs/path-item"
281+
"$ref": "#/$defs/path-item-or-reference"
282282
}
283283
},
284284
"$ref": "#/$defs/specification-extensions",

schemas/v3.1/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ $defs:
192192
type: object
193193
patternProperties:
194194
'^/':
195-
$ref: '#/$defs/path-item'
195+
$ref: '#/$defs/path-item-or-reference'
196196
$ref: '#/$defs/specification-extensions'
197197
unevaluatedProperties: false
198198

0 commit comments

Comments
 (0)