Skip to content

Commit 2aa301f

Browse files
authored
Adding the missing 'required' attribute present in preview APIs and not in the GA version (#18946)
* Adding the missing 'required' attribute present in preview APIs and not in the GA version * Updates
1 parent aba14a9 commit 2aa301f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

specification/cognitiveservices/data-plane/Language/stable/2022-05-01/textanalytics.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,9 @@
14061406
"$ref": "#/definitions/AnalyzeTextTaskResult"
14071407
}
14081408
],
1409+
"required": [
1410+
"results"
1411+
],
14091412
"x-ms-discriminator-value": "EntityRecognitionResults"
14101413
},
14111414
"EntitiesResult": {
@@ -1532,6 +1535,9 @@
15321535
"$ref": "#/definitions/AnalyzeTextTaskResult"
15331536
}
15341537
],
1538+
"required": [
1539+
"results"
1540+
],
15351541
"x-ms-discriminator-value": "EntityLinkingResults"
15361542
},
15371543
"EntityLinkingResult": {
@@ -1698,6 +1704,9 @@
16981704
"$ref": "#/definitions/AnalyzeTextTaskResult"
16991705
}
17001706
],
1707+
"required": [
1708+
"results"
1709+
],
17011710
"x-ms-discriminator-value": "PiiEntityRecognitionResults"
17021711
},
17031712
"PiiResult": {
@@ -1997,6 +2006,9 @@
19972006
"$ref": "#/definitions/AnalyzeTextTaskResult"
19982007
}
19992008
],
2009+
"required": [
2010+
"results"
2011+
],
20002012
"x-ms-discriminator-value": "KeyPhraseExtractionResults"
20012013
},
20022014
"KeyPhraseResult": {
@@ -2064,6 +2076,9 @@
20642076
"$ref": "#/definitions/AnalyzeTextTaskResult"
20652077
}
20662078
],
2079+
"required": [
2080+
"results"
2081+
],
20672082
"x-ms-discriminator-value": "LanguageDetectionResults"
20682083
},
20692084
"LanguageDetectionResult": {

0 commit comments

Comments
 (0)