From 47e901afa09691fccdc7029ca77735f6c3883163 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Wed, 13 Aug 2025 11:49:32 -0300 Subject: [PATCH] fix: add missing generic parameter to ApiResponse in delete item endpoint documentation Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/modes/server/api/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modes/server/api/item.rs b/src/modes/server/api/item.rs index f8f896f..d7da66f 100644 --- a/src/modes/server/api/item.rs +++ b/src/modes/server/api/item.rs @@ -163,7 +163,7 @@ pub async fn handle_post_item( delete, path = "/api/item/{item_id}", responses( - (status = 200, description = "Successfully deleted item", body = ApiResponse), + (status = 200, description = "Successfully deleted item", body = ApiResponse<()>), (status = 401, description = "Unauthorized"), (status = 404, description = "Item not found"), (status = 500, description = "Internal server error")