Description:
In /v1/document-embedding-status-in-gui API's request body has 2 schemas, and one schema with description "if-unsuccessful" is resulting a below error
{
"code": 400,
"message": "request.body should match exactly one schema in oneOf",
"errors": [
{
"path": ".body",
"message": "should match exactly one schema in oneOf",
"errorCode": "oneOf.openapi.validation"
}
]
}
Proposal:
Proposing to add property "additionalProperties: false" in /v1/document-embedding-status-in-gui req.body's schema v1_documentembeddingstatusingui_body after "description: IF successfully-embedded == true" as shown below
description: IF successfully-embedded == true
additionalProperties: false
Description: In /v1/document-embedding-status-in-gui API's request body has 2 schemas, and one schema with description "if-unsuccessful" is resulting a below error
Proposal: Proposing to add property "additionalProperties: false" in /v1/document-embedding-status-in-gui req.body's schema v1_documentembeddingstatusingui_body after "description: IF successfully-embedded == true" as shown below