[Language] Remove non-GA DocumentDetectedLanguage object (#23805)
* Remove DocumentDetectedLanguage object * apply the same changes to dev folder
This commit is contained in:
Родитель
7288f39254
Коммит
53240ebc58
|
@ -2076,7 +2076,7 @@
|
|||
"type": "array",
|
||||
"description": "Response by document",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ExtractedSummaryDocumentResultWithDetectedLanguage"
|
||||
"$ref": "#/definitions/ExtractedSummaryDocumentResult"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -2114,17 +2114,6 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"ExtractedSummaryDocumentResultWithDetectedLanguage": {
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ExtractedSummaryDocumentResult"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/DocumentDetectedLanguage"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ExtractedSummaryDocumentResult": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -2660,15 +2649,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DocumentDetectedLanguage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"detectedLanguage": {
|
||||
"$ref": "#/definitions/DetectedLanguage",
|
||||
"description": "If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document."
|
||||
}
|
||||
}
|
||||
},
|
||||
"DocumentWarning": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
|
|
@ -2076,7 +2076,7 @@
|
|||
"type": "array",
|
||||
"description": "Response by document",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ExtractedSummaryDocumentResultWithDetectedLanguage"
|
||||
"$ref": "#/definitions/ExtractedSummaryDocumentResult"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -2114,17 +2114,6 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"ExtractedSummaryDocumentResultWithDetectedLanguage": {
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ExtractedSummaryDocumentResult"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/DocumentDetectedLanguage"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ExtractedSummaryDocumentResult": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -2660,15 +2649,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"DocumentDetectedLanguage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"detectedLanguage": {
|
||||
"$ref": "#/definitions/DetectedLanguage",
|
||||
"description": "If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document."
|
||||
}
|
||||
}
|
||||
},
|
||||
"DocumentWarning": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
|
Загрузка…
Ссылка в новой задаче