Skip to content

Commit 9d024cb

Browse files
authored
Renatme 'Tag' to 'DetectedTag'
Rename 'Tag' to something that uses two words per Azure SDK guidance. And there is already a build-in Java pacakge javax.swing.text.html.HTML.Tag (#25963)
1 parent 90f2a5c commit 9d024cb

File tree

1 file changed

+3
-3
lines changed
  • specification/cognitiveservices/Vision.ImageAnalysis

1 file changed

+3
-3
lines changed

specification/cognitiveservices/Vision.ImageAnalysis/models.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ model DetectedObject {
8888
boundingBox: BoundingBox;
8989

9090
@doc("Classification confidences of the detected object.")
91-
tags: Array<Tag>;
91+
tags: Array<DetectedTag>;
9292
}
9393

9494
@doc("Represents a person detected in an image")
@@ -262,7 +262,7 @@ model SmartCropsResult {
262262
}
263263

264264
@doc("An entity observation in the image, along with the confidence score.")
265-
model Tag {
265+
model DetectedTag {
266266
@doc("The level of confidence that the entity was observed.")
267267
confidence: float64;
268268

@@ -273,7 +273,7 @@ model Tag {
273273
@doc("A list of tags with confidence level.")
274274
model TagsResult {
275275
@doc("A list of tags with confidence level.")
276-
values: Array<Tag>;
276+
values: Array<DetectedTag>;
277277
}
278278

279279
@doc("The visual features requested: tags, objects, caption, denseCaptions, read, smartCrops, people. This parameter needs to be specified if the parameter \"model-name\" is not specified.")

0 commit comments

Comments
 (0)