From 32735e6821945ac1873481fd09c4be99340dc9de Mon Sep 17 00:00:00 2001 From: Bruce Johnston Date: Wed, 4 Nov 2020 17:58:46 -0800 Subject: [PATCH] [Azure Cognitive Search] Add default response to Operations API (#11515) Co-authored-by: Bruce Johnston --- .../Microsoft.Search/preview/2020-08-01-preview/search.json | 6 ++++++ .../Microsoft.Search/stable/2020-08-01/search.json | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/specification/search/resource-manager/Microsoft.Search/preview/2020-08-01-preview/search.json b/specification/search/resource-manager/Microsoft.Search/preview/2020-08-01-preview/search.json index 5e6a16736b32..70879d44dbec 100644 --- a/specification/search/resource-manager/Microsoft.Search/preview/2020-08-01-preview/search.json +++ b/specification/search/resource-manager/Microsoft.Search/preview/2020-08-01-preview/search.json @@ -52,6 +52,12 @@ "schema": { "$ref": "#/definitions/OperationListResult" } + }, + "default": { + "description": "Operations API failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-pageable": { diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/search.json b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/search.json index b7e40aba57e2..1b59faa764cb 100644 --- a/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/search.json +++ b/specification/search/resource-manager/Microsoft.Search/stable/2020-08-01/search.json @@ -52,6 +52,12 @@ "schema": { "$ref": "#/definitions/OperationListResult" } + }, + "default": { + "description": "Operations API failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } } }, "x-ms-pageable": {