Skip to content

Commit 0aed3b3

Browse files
wangyuantaoyuantao-wang
authored andcommitted
fix conv doc gen (Azure#21398)
Co-authored-by: Yuantao Wang <yuantw@microsoft.com>
1 parent 67a404e commit 0aed3b3

File tree

2 files changed

+16
-28
lines changed

2 files changed

+16
-28
lines changed

dev/cognitiveservices/data-plane/Language/analyzeconversations.json

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,14 +1518,7 @@
15181518
"conversations": {
15191519
"type": "array",
15201520
"items": {
1521-
"allOf": [
1522-
{
1523-
"$ref": "#/definitions/ConversationsSummaryResult"
1524-
},
1525-
{
1526-
"$ref": "#/definitions/ConversationResultBase"
1527-
}
1528-
]
1521+
"$ref": "#/definitions/ConversationsSummaryResult"
15291522
}
15301523
}
15311524
},
@@ -1544,14 +1537,15 @@
15441537
"summaries": {
15451538
"type": "array",
15461539
"items": {
1547-
"allOf": [
1548-
{
1549-
"$ref": "#/definitions/SummaryResultItem"
1550-
}
1551-
]
1540+
"$ref": "#/definitions/SummaryResultItem"
15521541
}
15531542
}
1554-
}
1543+
},
1544+
"allOf": [
1545+
{
1546+
"$ref": "#/definitions/ConversationResultBase"
1547+
}
1548+
]
15551549
},
15561550
"SummaryResultItem": {
15571551
"type": "object",

specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzeconversations.json

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,14 +1518,7 @@
15181518
"conversations": {
15191519
"type": "array",
15201520
"items": {
1521-
"allOf": [
1522-
{
1523-
"$ref": "#/definitions/ConversationsSummaryResult"
1524-
},
1525-
{
1526-
"$ref": "#/definitions/ConversationResultBase"
1527-
}
1528-
]
1521+
"$ref": "#/definitions/ConversationsSummaryResult"
15291522
}
15301523
}
15311524
},
@@ -1544,14 +1537,15 @@
15441537
"summaries": {
15451538
"type": "array",
15461539
"items": {
1547-
"allOf": [
1548-
{
1549-
"$ref": "#/definitions/SummaryResultItem"
1550-
}
1551-
]
1540+
"$ref": "#/definitions/SummaryResultItem"
15521541
}
15531542
}
1554-
}
1543+
},
1544+
"allOf": [
1545+
{
1546+
"$ref": "#/definitions/ConversationResultBase"
1547+
}
1548+
]
15551549
},
15561550
"SummaryResultItem": {
15571551
"type": "object",

0 commit comments

Comments
 (0)