diff --git a/schemas/2020-11-01/Microsoft.ContainerInstance.json b/schemas/2020-11-01/Microsoft.ContainerInstance.json index 562815e1ea..cdac4f02c7 100644 --- a/schemas/2020-11-01/Microsoft.ContainerInstance.json +++ b/schemas/2020-11-01/Microsoft.ContainerInstance.json @@ -398,7 +398,10 @@ "httpHeaders": { "oneOf": [ { - "$ref": "#/definitions/HttpHeaders" + "type": "array", + "items": { + "$ref": "#/definitions/HttpHeader" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -796,7 +799,7 @@ ], "description": "The GPU resource." }, - "HttpHeaders": { + "HttpHeader": { "type": "object", "properties": { "name": { @@ -808,7 +811,7 @@ "description": "The header value." } }, - "description": "The HTTP headers." + "description": "The HTTP header." }, "ImageRegistryCredential": { "type": "object", diff --git a/schemas/2021-03-01/Microsoft.ContainerInstance.json b/schemas/2021-03-01/Microsoft.ContainerInstance.json index 934acb4947..e695dd8cc3 100644 --- a/schemas/2021-03-01/Microsoft.ContainerInstance.json +++ b/schemas/2021-03-01/Microsoft.ContainerInstance.json @@ -398,7 +398,10 @@ "httpHeaders": { "oneOf": [ { - "$ref": "#/definitions/HttpHeaders" + "type": "array", + "items": { + "$ref": "#/definitions/HttpHeader" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -796,7 +799,7 @@ ], "description": "The GPU resource." }, - "HttpHeaders": { + "HttpHeader": { "type": "object", "properties": { "name": { @@ -808,7 +811,7 @@ "description": "The header value." } }, - "description": "The HTTP headers." + "description": "The HTTP header" }, "ImageRegistryCredential": { "type": "object",