diff --git a/schemas/2.0.0.json b/schemas/2.0.0.json index 626c7b6f..21e9b20a 100644 --- a/schemas/2.0.0.json +++ b/schemas/2.0.0.json @@ -869,12 +869,16 @@ "type": "string" }, "headers": { - "oneOf": [ + "allOf": [ { - "$ref": "#/definitions/Reference" + "$ref": "#/definitions/schema" }, { - "$ref": "#/definitions/schema" + "properties": { + "type": { + "const": "object" + } + } } ] }, diff --git a/schemas/2.1.0.json b/schemas/2.1.0.json index bd3045d1..72b351a2 100644 --- a/schemas/2.1.0.json +++ b/schemas/2.1.0.json @@ -882,12 +882,16 @@ "type": "string" }, "headers": { - "oneOf": [ + "allOf": [ { - "$ref": "#/definitions/Reference" + "$ref": "#/definitions/schema" }, { - "$ref": "#/definitions/schema" + "properties": { + "type": { + "const": "object" + } + } } ] }, diff --git a/schemas/2.2.0.json b/schemas/2.2.0.json index 94c48a54..8bab82c5 100644 --- a/schemas/2.2.0.json +++ b/schemas/2.2.0.json @@ -891,12 +891,16 @@ "type": "string" }, "headers": { - "oneOf": [ + "allOf": [ { - "$ref": "#/definitions/Reference" + "$ref": "#/definitions/schema" }, { - "$ref": "#/definitions/schema" + "properties": { + "type": { + "const": "object" + } + } } ] },