Skip to content

Commit

Permalink
$ref objects are legal in all path-item objects
Browse files Browse the repository at this point in the history
See #2657 - this was added to the specification but not the schema.
  • Loading branch information
karenetheridge committed Mar 23, 2024
1 parent cd2a3a4 commit fcdeacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schemas/v3.1/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
"type": "object",
"patternProperties": {
"^/": {
"$ref": "#/$defs/path-item"
"$ref": "#/$defs/path-item-or-reference"
}
},
"$ref": "#/$defs/specification-extensions",
Expand Down
2 changes: 1 addition & 1 deletion schemas/v3.1/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ $defs:
type: object
patternProperties:
'^/':
$ref: '#/$defs/path-item'
$ref: '#/$defs/path-item-or-reference'
$ref: '#/$defs/specification-extensions'
unevaluatedProperties: false

Expand Down

0 comments on commit fcdeacd

Please sign in to comment.