From 2d12f25c6630f72d6a8db29515b0c706bb3608c4 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 23 May 2022 07:45:27 +0000 Subject: [PATCH] CodeGen from PR 19103 in Azure/azure-rest-api-specs Merge 6b087b74897dfc76d09018683489a49e22cc9709 into 4640dfc655f8641962814663fd03fd667e5c1a88 --- schemas/2020-11-01/Microsoft.ContainerInstance.json | 9 ++++++--- schemas/2021-03-01/Microsoft.ContainerInstance.json | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) 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",