From 456db9a1c1518fd877c8e4dffb8f0e0eb530c7ad Mon Sep 17 00:00:00 2001 From: Naveed Aziz Date: Fri, 4 May 2018 19:34:10 +0200 Subject: [PATCH] https://github.com/Azure/azure-rest-api-specs/issues/2907 (#3017) --- .../stable/2016-08-01/WebApps.json | 23 ++++++++++++++++-- .../stable/2018-02-01/WebApps.json | 24 ++++++++++++++++--- 2 files changed, 42 insertions(+), 5 deletions(-) diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json index 60ceaaaed00e..3d0cfa40301a 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json @@ -13733,10 +13733,23 @@ ], "responses": { "200": { - "description": "OK", + "description": "Successfully retrieved source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app still in progress.", "schema": { "$ref": "#/definitions/SiteSourceControl" } + }, + "202": { + "description": "Create or update source control for web app still in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } } }, @@ -13776,7 +13789,7 @@ ], "responses": { "200": { - "description": "Succesfully created or updated source control for web app.", + "description": "Successfully created or updated source control for web app.", "schema": { "$ref": "#/definitions/SiteSourceControl" } @@ -13786,6 +13799,12 @@ "schema": { "$ref": "#/definitions/SiteSourceControl" } + }, + "202": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } } }, "x-ms-long-running-operation": true diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json index 98f40021951b..3618b4d1d924 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json @@ -14987,7 +14987,19 @@ ], "responses": { "200": { - "description": "OK", + "description": "Successfully retrieved source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app still in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "202": { + "description": "Create or update source control for web app still in progress.", "schema": { "$ref": "#/definitions/SiteSourceControl" } @@ -15036,7 +15048,7 @@ ], "responses": { "200": { - "description": "Succesfully created or updated source control for web app.", + "description": "Successfully created or updated source control for web app.", "schema": { "$ref": "#/definitions/SiteSourceControl" } @@ -15047,7 +15059,13 @@ "$ref": "#/definitions/SiteSourceControl" } }, - "default": { + "202": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "default": { "description": "App Service error response.", "schema": { "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"