Skip to content

Commit

Permalink
Refactor the latest stable redisEnterprise swagger using common-types…
Browse files Browse the repository at this point in the history
… v3 parameters (Azure#21327)

* Fix API version in examples.

* Use v3/types parameter definitions.

* Fix an authoring error for the headers in the Update example.
  • Loading branch information
TimLovellSmith authored and anandanthony committed Dec 16, 2022
1 parent a95829c commit 03bebc1
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 81 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-03-01"
"api-version": "2022-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2021-02-01-preview",
"api-version": "2022-01-01",
"subscriptionId": "subid1",
"parameters": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2021-02-01-preview",
"api-version": "2022-01-01",
"subscriptionId": "subid",
"parameters": {
"ids": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@
}
},
"202": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
}
}
}
}
Loading

0 comments on commit 03bebc1

Please sign in to comment.