Skip to content

Commit

Permalink
chore: fix typo in API docs (#3023)
Browse files Browse the repository at this point in the history
* chore: fix typo in API docs

* fix openapi

Co-authored-by: Thomas Stadelmann <[email protected]>
  • Loading branch information
julian-risch and tstadel authored Aug 15, 2022
1 parent 0aa0c68 commit d617553
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_src/api/openapi/openapi-1.6.1rc0.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion docs/_src/api/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion rest_api/controller/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
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:
Expand Down

0 comments on commit d617553

Please sign in to comment.