add the searches route and fix a few broken things

This commit is contained in:
Tamo 2024-12-23 15:58:52 +01:00
parent 78f6f22a80
commit 04e4586fb3
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
8 changed files with 196 additions and 43 deletions

View file

@ -205,7 +205,7 @@ impl<Method: AggregateMethod> Aggregate for DocumentsFetchAggregator<Method> {
GetDocument,
),
responses(
(status = 200, description = "The documents are returned", body = serde_json::Value, content_type = "application/json", example = json!(
(status = 200, description = "The document is returned", body = serde_json::Value, content_type = "application/json", example = json!(
{
"id": 25684,
"title": "American Ninja 5",