chore: fix typo in API docs (#3023)

* chore: fix typo in API docs

* fix openapi

Co-authored-by: Thomas Stadelmann <[email protected]>
This commit is contained in:
Julian Risch
2022-08-15 13:25:20 +02:00
committed by GitHub
co-authored by Thomas Stadelmann
parent 0aa0c68785
commit d61755322f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -316,7 +316,7 @@
"document"
],
"summary": "Get Documents",
"description": "This endpoint allows you to retrieve documents contained in your document store.\nYou can filter the documents to delete by metadata (like the document's name),\nor provide an empty JSON object to clear the document store.\n\nExample of filters:\n`'{\"filters\": {{\"name\": [\"some\", \"more\"], \"category\": [\"only_one\"]}}'`\n\nTo get all documents you should provide an empty dict, like:\n`'{\"filters\": {}}'`",
"description": "This endpoint allows you to retrieve documents contained in your document store.\nYou can filter the documents to retrieve by metadata (like the document's name),\nor provide an empty JSON object to clear the document store.\n\nExample of filters:\n`'{\"filters\": {{\"name\": [\"some\", \"more\"], \"category\": [\"only_one\"]}}'`\n\nTo get all documents you should provide an empty dict, like:\n`'{\"filters\": {}}'`",
"operationId": "get_documents",
"requestBody": {
"content": {
+1 -1
View File
@@ -316,7 +316,7 @@
"document"
],
"summary": "Get Documents",
"description": "This endpoint allows you to retrieve documents contained in your document store.\nYou can filter the documents to delete by metadata (like the document's name),\nor provide an empty JSON object to clear the document store.\n\nExample of filters:\n`'{\"filters\": {{\"name\": [\"some\", \"more\"], \"category\": [\"only_one\"]}}'`\n\nTo get all documents you should provide an empty dict, like:\n`'{\"filters\": {}}'`",
"description": "This endpoint allows you to retrieve documents contained in your document store.\nYou can filter the documents to retrieve by metadata (like the document's name),\nor provide an empty JSON object to clear the document store.\n\nExample of filters:\n`'{\"filters\": {{\"name\": [\"some\", \"more\"], \"category\": [\"only_one\"]}}'`\n\nTo get all documents you should provide an empty dict, like:\n`'{\"filters\": {}}'`",
"operationId": "get_documents",
"requestBody": {
"content": {
+1 -1
View File
@@ -24,7 +24,7 @@ document_store: BaseDocumentStore = get_pipelines().get("document_store", None)
def get_documents(filters: FilterRequest):
"""
This endpoint allows you to retrieve documents contained in your document store.
You can filter the documents to delete by metadata (like the document's name),
You can filter the documents to retrieve by metadata (like the document's name),
or provide an empty JSON object to clear the document store.
Example of filters: