From 755f8c7e2da621d3f6049e199c170a810c58d096 Mon Sep 17 00:00:00 2001 From: Huangli Wu Date: Fri, 17 Apr 2020 11:23:48 -0700 Subject: [PATCH] Add missing two properties in ErrorResponseBody. --- .../containerregistry_build.json | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json index a4689a1792a2..933aa70dc501 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json @@ -2994,6 +2994,15 @@ "message": { "description": "error message.", "type": "string" + }, + "target": { + "description": "target of the particular error.", + "type": "string" + }, + "details": { + "$ref": "#/definitions/InnerErrorDescription", + "description": "an array of additional nested error response info objects, as described by this contract.", + "type": "array" } } }, @@ -3006,6 +3015,27 @@ } } }, + "InnerErrorDescription": { + "description": "inner error.", + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "description": "error code.", + "type": "string" + }, + "message": { + "description": "error message.", + "type": "string" + }, + "target": { + "description": "target of the particular error.", + "type": "string" + } + } + }, "DockerBuildRequest": { "description": "The parameters for a docker quick build.", "required": [