Skip to content

Commit 5be67b4

Browse files
authored
Rperezzamora/small fix for short codes (#16554)
* making numberType on ShortCode model object extensible enum * Revert "making numberType on ShortCode model object extensible enum" This reverts commit 5051e3e. Reverting change since it should have been done on feature branch * adding extensible enum metadata to short code numbertype
1 parent aac5247 commit 5be67b4

File tree

1 file changed

+5
-1
lines changed
  • specification/communication/data-plane/ShortCodes/preview/2021-10-25-preview

1 file changed

+5
-1
lines changed

specification/communication/data-plane/ShortCodes/preview/2021-10-25-preview/shortcodes.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,11 @@
316316
"shortCode",
317317
"alphaId"
318318
],
319-
"type": "string"
319+
"type": "string",
320+
"x-ms-enum": {
321+
"name": "NumberType",
322+
"modelAsString": true
323+
}
320324
},
321325
"countryCode": {
322326
"description": "ISO 3166 2-char code representing the country e.g. 'US'.",

0 commit comments

Comments
 (0)