Skip to content

Commit 7c65784

Browse files
committed
Revert "Remove x-ms-pageable to fix Go SDK Generation issue"
This reverts commit cdecb28. Remove response code changes in ListDeleted operation
1 parent cdecb28 commit 7c65784

File tree

2 files changed

+12
-30
lines changed

2 files changed

+12
-30
lines changed

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,6 @@
2424
],
2525
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/deletedVaults?api-version=2019-09-01&%24skiptoken=HY3RaoMwAEX%2fRcbeYhJrnRXKYNWOuqpME0sfNcYui0Yxade19N8ne7hcDlzOvVuKX81eKKmt4G4dooLQwgqsL2NGHUDYV6o68Z4rY1e388RtNvRQn2vNJjEaMSgNvcbneMUcsKg8BFwft8DndQ0w9hu2QOiFLRs4TsNFNHzSMBFsGvTQGvuD%2f5bVuTOw4R03vPkH%2fVqNAlzm5SxfOwh7ACOA8POTlvPjILlaU1ke8jImOc23JCppQVfZnna0DXc4ISc3vSVuRo5zJE6%2bj25C3vwk2v2kEV2mMn7PyOc1DbtNGkonnzuLym1G400uI5QRZj0efw%3d%3d"
2626
}
27-
},
28-
"400": {
29-
"headers": {},
30-
"body": {
31-
"error": {
32-
"code": "",
33-
"message": ""
34-
}
35-
}
36-
},
37-
"404": {
38-
"headers": {},
39-
"body": {
40-
"error": {
41-
"code": "",
42-
"message": ""
43-
}
44-
}
4527
}
4628
}
4729
}

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@
413413
}
414414
}
415415
},
416+
"x-ms-pageable": {
417+
"nextLinkName": "nextLink"
418+
},
416419
"x-ms-examples": {
417420
"List vaults in the specified resource group": {
418421
"$ref": "./examples/listVaultByResourceGroup.json"
@@ -456,6 +459,9 @@
456459
}
457460
}
458461
},
462+
"x-ms-pageable": {
463+
"nextLinkName": "nextLink"
464+
},
459465
"x-ms-examples": {
460466
"List vaults in the specified subscription": {
461467
"$ref": "./examples/listVaultBySubscription.json"
@@ -490,20 +496,11 @@
490496
"schema": {
491497
"$ref": "#/definitions/DeletedVaultListResult"
492498
}
493-
},
494-
"400": {
495-
"description": "Bad request.",
496-
"schema": {
497-
"$ref": "#/definitions/CloudError"
498-
}
499-
},
500-
"404": {
501-
"description": "The specified resource does not exist.",
502-
"schema": {
503-
"$ref": "#/definitions/CloudError"
504-
}
505499
}
506500
},
501+
"x-ms-pageable": {
502+
"nextLinkName": "nextLink"
503+
},
507504
"x-ms-examples": {
508505
"List deleted vaults in the specified subscription": {
509506
"$ref": "./examples/listDeletedVaults.json"
@@ -684,6 +681,9 @@
684681
}
685682
}
686683
},
684+
"x-ms-pageable": {
685+
"nextLinkName": "nextLink"
686+
},
687687
"x-ms-examples": {
688688
"List vaults in the specified subscription": {
689689
"$ref": "./examples/listVault.json"

0 commit comments

Comments
 (0)