Skip to content

Commit c09b26d

Browse files
add x-ms-enum for sql (Azure#17028)
* add x-ms-enum for sql * fix to make sure track 1 generator is happy
1 parent 70b9dfe commit c09b26d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/BlobAuditing.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,10 @@
10501050
"enum": [
10511051
"default"
10521052
],
1053+
"x-ms-enum": {
1054+
"name": "BlobAuditingPolicyName",
1055+
"modelAsString": false
1056+
},
10531057
"x-ms-parameter-location": "method"
10541058
}
10551059
},

specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/SyncGroups.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,11 @@
222222
"Error",
223223
"Warning",
224224
"Success"
225-
]
225+
],
226+
"x-ms-enum": {
227+
"name": "SyncGroupsType",
228+
"modelAsString": true
229+
}
226230
},
227231
{
228232
"name": "continuationToken",

0 commit comments

Comments
 (0)