Skip to content

Commit

Permalink
Swagger Correctness for Cognitive Services (#11405)
Browse files Browse the repository at this point in the history
* Swagger Correctness

* Undo changes in 2016-02-01-preview

* Move location of field

* change enum type to string for Sku.tier
  • Loading branch information
yangyuan authored Nov 19, 2020
1 parent 7fe353b commit f80190f
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -860,11 +860,12 @@
"enum": [
"Free",
"Standard",
"Premium"
"Premium",
"Enterprise"
],
"x-ms-enum": {
"name": "SkuTier",
"modelAsString": false
"modelAsString": true
}
}
},
Expand Down Expand Up @@ -1026,6 +1027,11 @@
"apiProperties": {
"$ref": "#/definitions/CognitiveServicesAccountApiProperties",
"description": "The api properties for special APIs."
},
"dateCreated": {
"readOnly": true,
"type": "string",
"description": "Gets the date of cognitive services account creation."
}
},
"description": "Properties of Cognitive Services account."
Expand Down

0 comments on commit f80190f

Please sign in to comment.