Skip to content

Commit

Permalink
Update Swagger document for recent API updates: (Azure#15601)
Browse files Browse the repository at this point in the history
- Update description for model-version query parameter
- Update description for language query parameter (not including OCR operation)
  • Loading branch information
ryogok authored Aug 23, 2021
1 parent 0abf5a4 commit ea41655
Showing 1 changed file with 50 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@
"ModelVersion": {
"name": "model-version",
"in": "query",
"description": "Optional parameter to specify the version of the AI model. Accepted values are: \"latest\", \"2021-04-01\". Defaults to \"latest\".",
"description": "Optional parameter to specify the version of the AI model. Accepted values are: \"latest\", \"2021-04-01\", \"2021-05-01\". Defaults to \"latest\".",
"required": false,
"x-ms-parameter-location": "method",
"type": "string",
Expand All @@ -1383,16 +1383,63 @@
"ServiceLanguage": {
"name": "language",
"in": "query",
"description": "The desired language for output generation. If this parameter is not specified, the default value is "en".Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese.",
"description": "The desired language for output generation. If this parameter is not specified, the default value is \"en\". See https://aka.ms/cv-languages for list of supported languages.",
"required": false,
"type": "string",
"default": "en",
"enum": [
"ar",
"az",
"bg",
"bs",
"ca",
"cs",
"cy",
"da",
"de",
"el",
"en",
"es",
"et",
"eu",
"fi",
"fr",
"ga",
"gl",
"he",
"hi",
"hr",
"hu",
"id",
"it",
"ja",
"kk",
"ko",
"lt",
"lv",
"mk",
"ms",
"nb",
"nl",
"pl",
"prs",
"pt",
"zh"
"pt-BR",
"pt-PT",
"ro",
"ru",
"sk",
"sl",
"sr-Cyrl",
"sr-Latn",
"sv",
"th",
"tr",
"uk",
"vi",
"zh",
"zh-Hans",
"zh-Hant"
],
"x-ms-parameter-location": "method",
"x-nullable": false
Expand Down

0 comments on commit ea41655

Please sign in to comment.