Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@
"name": "maxCandidates",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"in": "query",
"description": "Maximum number of candidate descriptions to be returned. The default is 1.",
"type": "string",
"type": "integer",
"required": false,
"default": "1"
"default": 1
},
{
"$ref": "#/parameters/ServiceLanguage"
Expand Down Expand Up @@ -449,12 +449,21 @@
"name": "details",
"in": "query",
"description": "A string indicating which domain-specific details to return. Multiple values should be comma-separated. Valid visual feature types include:Celebrities - identifies celebrities if detected in the image.",
"type": "string",
"type": "array",
"required": false,
"enum": [
"Celebrities",
"Landmarks"
]
"collectionFormat": "csv",
"items": {
"type": "string",
"x-nullable": false,
"x-ms-enum": {
"name": "Details",
"modelAsString": false
},
"enum": [
"Celebrities",
"Landmarks"
]
}
},
{
"$ref": "#/parameters/ServiceLanguage"
Expand Down Expand Up @@ -606,9 +615,9 @@
"name": "maxCandidates",
"in": "query",
"description": "Maximum number of candidate descriptions to be returned. The default is 1.",
"type": "string",
"type": "integer",
"required": false,
"default": "1"
"default": 1
},
{
"$ref": "#/parameters/ServiceLanguage"
Expand Down Expand Up @@ -1249,12 +1258,12 @@
"description": "An object providing possible image types and matching confidence levels.",
"properties": {
"clipArtType": {
"type": "number",
"type": "integer",
"x-nullable": false,
"description": "Confidence level that the image is a clip art."
},
"lineDrawingType": {
"type": "number",
"type": "integer",
"x-nullable": false,
"description": "Confidence level that the image is a line drawing."
}
Expand Down Expand Up @@ -1285,6 +1294,7 @@
},
"isBWImg": {
"type": "boolean",
"x-nullable": false,
"description": "A value indicating if the image is black and white."
}
}
Expand Down