Skip to content

Commit

Permalink
Swagger correctness fix: add location property to RedisPatchSchedule …
Browse files Browse the repository at this point in the history
…and update response examples (Azure#17699)

Co-authored-by: Kanchan Joshi <kanchanjoshi@microsoft.com>
  • Loading branch information
2 people authored and FredericHeem committed Mar 7, 2022
1 parent 874cbfb commit eada040
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
"201": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default",
"name": "default",
"type": "Microsoft.Cache/Redis/patchSchedules",
"location": "East US",
"name": "cachename1/default",
"type": "Microsoft.Cache/Redis/PatchSchedules",
"properties": {
"scheduleEntries": [
{
Expand All @@ -45,8 +46,9 @@
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default",
"name": "default",
"type": "Microsoft.Cache/Redis/patchSchedules",
"location": "East US",
"name": "cachename1/default",
"type": "Microsoft.Cache/Redis/PatchSchedules",
"properties": {
"scheduleEntries": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default",
"name": "default",
"type": "Microsoft.Cache/Redis/patchSchedules",
"location": "East US",
"name": "cache1/default",
"type": "Microsoft.Cache/Redis/PatchSchedules",
"properties": {
"scheduleEntries": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/patchSchedules/default",
"name": "default",
"type": "Microsoft.Cache/Redis/patchSchedules",
"location": "East US",
"name": "cache1/default",
"type": "Microsoft.Cache/Redis/PatchSchedules",
"properties": {
"scheduleEntries": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2425,6 +2425,11 @@
"x-ms-client-flatten": true,
"$ref": "#/definitions/ScheduleEntries",
"description": "List of patch schedules for a Redis cache."
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives",
"readOnly": true
}
},
"required": [
Expand Down

0 comments on commit eada040

Please sign in to comment.