Skip to content

web search done right

Fix utoipa path of `entity_image` (#110)

Oliver Bøvingac6bdfc19e96
diff --git a/core/src/api/search.rs b/core/src/api/search.rs
index 303b9ee5..41b1e46f 100644
--- a/core/src/api/search.rs
+++ b/core/src/api/search.rs
@@ -173,7 +173,7 @@ pub struct EntityImageParams {
#[utoipa::path(
post,
- path = "/beta/api/search",
+ path = "/beta/api/entity_image",
request_body(content = ApiSearchQuery),
responses(
(status = 200, description = "Search results", body = ApiSearchResult),