diff --git a/schemas/v3.1/schema.json b/schemas/v3.1/schema.json index 14171960cc..d48393e224 100644 --- a/schemas/v3.1/schema.json +++ b/schemas/v3.1/schema.json @@ -278,7 +278,7 @@ "type": "object", "patternProperties": { "^/": { - "$ref": "#/$defs/path-item" + "$ref": "#/$defs/path-item-or-reference" } }, "$ref": "#/$defs/specification-extensions", diff --git a/schemas/v3.1/schema.yaml b/schemas/v3.1/schema.yaml index 68fcc0d0bc..ebaafe1503 100644 --- a/schemas/v3.1/schema.yaml +++ b/schemas/v3.1/schema.yaml @@ -192,7 +192,7 @@ $defs: type: object patternProperties: '^/': - $ref: '#/$defs/path-item' + $ref: '#/$defs/path-item-or-reference' $ref: '#/$defs/specification-extensions' unevaluatedProperties: false