Skip to content

Commit 3901b43

Browse files
added enum for api version (#12164)
* added enum for api version * added version for all api versions
1 parent 1a7b2bb commit 3901b43

File tree

5 files changed

+26
-11
lines changed

5 files changed

+26
-11
lines changed

specification/storage/data-plane/Microsoft.FileStorage/preview/2019-02-02/file.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@
547547
"type": "string",
548548
"format": "date-time-rfc1123",
549549
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
550-
},
550+
},
551551
"x-ms-file-permission-key": {
552552
"x-ms-client-name": "FilePermissionKey",
553553
"type": "string",
@@ -4011,7 +4011,10 @@
40114011
"in": "header",
40124012
"description": "Specifies the version of the operation to use for this request.",
40134013
"required": true,
4014-
"type": "string"
4014+
"type": "string",
4015+
"enum": [
4016+
"2019-02-02"
4017+
]
40154018
},
40164019
"ContentLength": {
40174020
"name": "Content-Length",

specification/storage/data-plane/Microsoft.FileStorage/preview/2019-07-07/file.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@
568568
"type": "string",
569569
"format": "date-time-rfc1123",
570570
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
571-
},
571+
},
572572
"x-ms-file-permission-key": {
573573
"x-ms-client-name": "FilePermissionKey",
574574
"type": "string",
@@ -4662,7 +4662,10 @@
46624662
"in": "header",
46634663
"description": "Specifies the version of the operation to use for this request.",
46644664
"required": true,
4665-
"type": "string"
4665+
"type": "string",
4666+
"enum": [
4667+
"2019-07-07"
4668+
]
46664669
},
46674670
"ClientRequestId": {
46684671
"name": "x-ms-client-request-id",
@@ -4801,7 +4804,7 @@
48014804
"name": "copy-file-smb-info"
48024805
},
48034806
"description": "Specifies the option to set archive attribute on a target file. True means archive attribute will be set on a target file despite attribute overrides or a source file state."
4804-
},
4807+
},
48054808
"DeleteSnapshots": {
48064809
"name": "x-ms-delete-snapshots",
48074810
"x-ms-client-name": "deleteSnapshots",

specification/storage/data-plane/Microsoft.FileStorage/preview/2019-12-12/file.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@
587587
"type": "string",
588588
"format": "date-time-rfc1123",
589589
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
590-
},
590+
},
591591
"x-ms-file-permission-key": {
592592
"x-ms-client-name": "FilePermissionKey",
593593
"type": "string",
@@ -4859,7 +4859,10 @@
48594859
"in": "header",
48604860
"description": "Specifies the version of the operation to use for this request.",
48614861
"required": true,
4862-
"type": "string"
4862+
"type": "string",
4863+
"enum": [
4864+
"2019-12-12"
4865+
]
48634866
},
48644867
"ClientRequestId": {
48654868
"name": "x-ms-client-request-id",

specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@
12241224
"type": "string",
12251225
"format": "date-time-rfc1123",
12261226
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
1227-
},
1227+
},
12281228
"x-ms-file-permission-key": {
12291229
"x-ms-client-name": "FilePermissionKey",
12301230
"type": "string",
@@ -5607,7 +5607,10 @@
56075607
"in": "header",
56085608
"description": "Specifies the version of the operation to use for this request.",
56095609
"required": true,
5610-
"type": "string"
5610+
"type": "string",
5611+
"enum": [
5612+
"2020-02-10"
5613+
]
56115614
},
56125615
"ClientRequestId": {
56135616
"name": "x-ms-client-request-id",

specification/storage/data-plane/Microsoft.FileStorage/preview/2020-04-08/file.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@
12491249
"type": "string",
12501250
"format": "date-time-rfc1123",
12511251
"description": "A UTC date/time value generated by the service that indicates the time at which the response was initiated."
1252-
},
1252+
},
12531253
"x-ms-file-permission-key": {
12541254
"x-ms-client-name": "FilePermissionKey",
12551255
"type": "string",
@@ -5656,7 +5656,10 @@
56565656
"in": "header",
56575657
"description": "Specifies the version of the operation to use for this request.",
56585658
"required": true,
5659-
"type": "string"
5659+
"type": "string",
5660+
"enum": [
5661+
"2020-04-08"
5662+
]
56605663
},
56615664
"ClientRequestId": {
56625665
"name": "x-ms-client-request-id",

0 commit comments

Comments
 (0)