Skip to content

Commit 7fc5df8

Browse files
authored
Merge pull request #2 from felixwa/add-more-apis-2
Add more API kinds/skus and model them as strings
2 parents 956d792 + 8c98ab8 commit 7fc5df8

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

arm-cognitiveservices/2016-02-01-preview/swagger/cognitiveservices.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,18 +487,27 @@
487487
"type": "string",
488488
"description": "Required. Indicates the type of cognitive service account.",
489489
"enum": [
490+
"Academic",
491+
"Bing.Autosuggest",
492+
"Bing.Search",
493+
"Bing.Speech",
494+
"Bing.SpellCheck",
490495
"ComputerVision",
496+
"ContentModerator",
491497
"Emotion",
492498
"Face",
493499
"LUIS",
494500
"Recommendations",
501+
"SpeakerRecognition",
495502
"Speech",
503+
"SpeechTranslation",
496504
"TextAnalytics",
505+
"TextTranslation",
497506
"WebLM"
498507
],
499508
"x-ms-enum": {
500509
"name": "Kind",
501-
"modelAsString": false
510+
"modelAsString": true
502511
}
503512
},
504513
"location": {
@@ -548,15 +557,20 @@
548557
"description": "Gets or sets the sku name. Required for account creation, optional for update.",
549558
"enum": [
550559
"F0",
560+
"P0",
561+
"P1",
562+
"P2",
551563
"S0",
552564
"S1",
553565
"S2",
554566
"S3",
555-
"S4"
567+
"S4",
568+
"S5",
569+
"S6"
556570
],
557571
"x-ms-enum": {
558572
"name": "SkuName",
559-
"modelAsString": false
573+
"modelAsString": true
560574
}
561575
},
562576
"tier": {

0 commit comments

Comments
 (0)