diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json index 4800166369a1..29250b6e536a 100644 --- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json +++ b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/ComputerVision.json @@ -232,9 +232,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" @@ -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" @@ -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" @@ -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." } @@ -1285,6 +1294,7 @@ }, "isBWImg": { "type": "boolean", + "x-nullable": false, "description": "A value indicating if the image is black and white." } }