Skip to content

Commit 11a54f2

Browse files
authored
s360 in 2020-03-01 remove empty schema in actions to match the RP. (#12975)
1 parent 9b54876 commit 11a54f2

File tree

7 files changed

+36
-90
lines changed

7 files changed

+36
-90
lines changed

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/examples/Caches_Delete.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@
66
"api-version": "2020-03-01"
77
},
88
"responses": {
9-
"200": {
10-
"body": ""
11-
},
12-
"202": {
13-
"body": ""
14-
},
15-
"204": {
16-
"body": ""
17-
}
9+
"200": {},
10+
"202": {},
11+
"204": {}
1812
}
1913
}

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/examples/Caches_Flush.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@
66
"api-version": "2020-03-01"
77
},
88
"responses": {
9-
"200": {
10-
"body": ""
11-
},
12-
"202": {
13-
"body": ""
14-
},
15-
"204": {
16-
"body": ""
17-
}
9+
"200": {},
10+
"202": {},
11+
"204": {}
1812
}
1913
}

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/examples/Caches_Start.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@
66
"api-version": "2020-03-01"
77
},
88
"responses": {
9-
"200": {
10-
"body": ""
11-
},
12-
"202": {
13-
"body": ""
14-
},
15-
"204": {
16-
"body": ""
17-
}
9+
"200": {},
10+
"202": {},
11+
"204": {}
1812
}
1913
}

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/examples/Caches_Stop.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@
66
"api-version": "2020-03-01"
77
},
88
"responses": {
9-
"200": {
10-
"body": ""
11-
},
12-
"202": {
13-
"body": ""
14-
},
15-
"204": {
16-
"body": ""
17-
}
9+
"200": {},
10+
"202": {},
11+
"204": {}
1812
}
1913
}

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/examples/Caches_UpgradeFirmware.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@
66
"api-version": "2020-03-01"
77
},
88
"responses": {
9-
"201": {
10-
"body": ""
11-
},
12-
"202": {
13-
"body": ""
14-
},
15-
"204": {
16-
"body": ""
17-
}
9+
"201": {},
10+
"202": {},
11+
"204": {}
1812
}
1913
}

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/examples/StorageTargets_Delete.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,8 @@
77
"storageTargetName": "st1"
88
},
99
"responses": {
10-
"200": {
11-
"body": ""
12-
},
13-
"202": {
14-
"body": ""
15-
},
16-
"204": {
17-
"body": ""
18-
}
10+
"200": {},
11+
"202": {},
12+
"204": {}
1913
}
2014
}

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/storagecache.json

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -332,16 +332,13 @@
332332
],
333333
"responses": {
334334
"200": {
335-
"description": "Cache deleted.",
336-
"schema": {}
335+
"description": "Cache deleted."
337336
},
338337
"202": {
339-
"description": "Started the Cache's transition to Deleted state. Poll the Cache to monitor.",
340-
"schema": {}
338+
"description": "Started the Cache's transition to Deleted state. Poll the Cache to monitor."
341339
},
342340
"204": {
343-
"description": "Cache deleted.",
344-
"schema": {}
341+
"description": "Cache deleted."
345342
},
346343
"default": {
347344
"description": "Error response describing why the operation failed.",
@@ -584,16 +581,13 @@
584581
],
585582
"responses": {
586583
"200": {
587-
"description": "All cached data has been flushed to the Storage Target(s).",
588-
"schema": {}
584+
"description": "All cached data has been flushed to the Storage Target(s)."
589585
},
590586
"202": {
591-
"description": "Cache has started flushing to its Storage Target(s). Poll the Cache's state field to monitor.",
592-
"schema": {}
587+
"description": "Cache has started flushing to its Storage Target(s). Poll the Cache's state field to monitor."
593588
},
594589
"204": {
595-
"description": "Cache flush already in progress or has completed.",
596-
"schema": {}
590+
"description": "Cache flush already in progress or has completed."
597591
},
598592
"default": {
599593
"description": "Error response describing why the operation failed.",
@@ -648,16 +642,13 @@
648642
],
649643
"responses": {
650644
"200": {
651-
"description": "Cache is Active.",
652-
"schema": {}
645+
"description": "Cache is Active."
653646
},
654647
"202": {
655-
"description": "Cache has started the transition to Active. Poll the Cache's state field to monitor.",
656-
"schema": {}
648+
"description": "Cache has started the transition to Active. Poll the Cache's state field to monitor."
657649
},
658650
"204": {
659-
"description": "Restarted VMs associated with the cache.",
660-
"schema": {}
651+
"description": "Restarted VMs associated with the cache."
661652
},
662653
"default": {
663654
"description": "Error response describing why the operation failed.",
@@ -712,16 +703,13 @@
712703
],
713704
"responses": {
714705
"200": {
715-
"description": "Cache is stopped.",
716-
"schema": {}
706+
"description": "Cache is stopped."
717707
},
718708
"202": {
719-
"description": "Cache has started the transition to Stopped. Poll the Cache's state field to monitor.",
720-
"schema": {}
709+
"description": "Cache has started the transition to Stopped. Poll the Cache's state field to monitor."
721710
},
722711
"204": {
723-
"description": "Stopped VMs associated with the cache.",
724-
"schema": {}
712+
"description": "Stopped VMs associated with the cache."
725713
},
726714
"default": {
727715
"description": "Error response describing why the operation failed.",
@@ -841,16 +829,13 @@
841829
],
842830
"responses": {
843831
"200": {
844-
"description": "Storage target deleted.",
845-
"schema": {}
832+
"description": "Storage target deleted."
846833
},
847834
"202": {
848-
"description": "Started the Storage Target's deletion. Poll the Cache's Storage Targets to monitor.",
849-
"schema": {}
835+
"description": "Started the Storage Target's deletion. Poll the Cache's Storage Targets to monitor."
850836
},
851837
"204": {
852-
"description": "Storage Target deleted.",
853-
"schema": {}
838+
"description": "Storage Target deleted."
854839
},
855840
"default": {
856841
"description": "Error response describing why the operation failed.",
@@ -1046,16 +1031,13 @@
10461031
],
10471032
"responses": {
10481033
"201": {
1049-
"description": "Cache firmware is up to date.",
1050-
"schema": {}
1034+
"description": "Cache firmware is up to date."
10511035
},
10521036
"202": {
1053-
"description": "Cache has started the upgrade. Poll the Cache's state field to monitor.",
1054-
"schema": {}
1037+
"description": "Cache has started the upgrade. Poll the Cache's state field to monitor."
10551038
},
10561039
"204": {
1057-
"description": "Cache firmware is up to date.",
1058-
"schema": {}
1040+
"description": "Cache firmware is up to date."
10591041
},
10601042
"default": {
10611043
"description": "Error response describing why the operation failed.",

0 commit comments

Comments
 (0)