From 8d5d6577b31ab5b18b84d9cf67de1e923a01dea5 Mon Sep 17 00:00:00 2001 From: pratikjoshi14 <59243362+pratikjoshi14@users.noreply.github.com> Date: Wed, 16 Feb 2022 20:46:11 +0530 Subject: [PATCH] Swagger validation fixes --- .../stable/2022-01-01/dataprotection.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-01-01/dataprotection.json b/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-01-01/dataprotection.json index 92c6cfcad638..2374698e4a9e 100644 --- a/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-01-01/dataprotection.json +++ b/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2022-01-01/dataprotection.json @@ -78,13 +78,13 @@ "$ref": "#/parameters/SubscriptionId" }, { - "name": "location", + "name": "operationId", "in": "path", "required": true, "type": "string" }, { - "name": "operationId", + "name": "location", "in": "path", "required": true, "type": "string" @@ -3927,8 +3927,7 @@ "required": [ "objectType", "restoreTargetInfo", - "sourceDataStoreType", - "sourceResourceId" + "sourceDataStoreType" ], "title": "AzureBackupRestoreRequest", "type": "object"