From 30c6238dee01ce2f01fb42c86f9c54fd73b6bc3f Mon Sep 17 00:00:00 2001 From: Vinay Rajmal Soni Date: Fri, 18 Jun 2021 12:31:41 -0700 Subject: [PATCH] fix CI restart swagger --- .../stable/2021-07-01/examples/Compute/restart.json | 2 +- .../stable/2021-07-01/machineLearningServices.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json index 71610598ecea..7326f11d534a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json @@ -7,6 +7,6 @@ "api-version": "2021-07-01" }, "responses": { - "200": {} + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index 20fef14cf93f..0ee3ac6813c5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -1209,6 +1209,7 @@ "$ref": "./examples/Compute/restart.json" } }, + "x-ms-long-running-operation": true, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" @@ -1227,7 +1228,7 @@ } ], "responses": { - "200": { + "202": { "description": "Success." }, "default": {