fix: remove generic type from ApiResponse in delete item endpoint documentation
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -163,7 +163,7 @@ pub async fn handle_post_item(
|
|||||||
delete,
|
delete,
|
||||||
path = "/api/item/{item_id}",
|
path = "/api/item/{item_id}",
|
||||||
responses(
|
responses(
|
||||||
(status = 200, description = "Successfully deleted item", body = ApiResponse<()>),
|
(status = 200, description = "Successfully deleted item", body = ApiResponse),
|
||||||
(status = 401, description = "Unauthorized"),
|
(status = 401, description = "Unauthorized"),
|
||||||
(status = 404, description = "Item not found"),
|
(status = 404, description = "Item not found"),
|
||||||
(status = 500, description = "Internal server error")
|
(status = 500, description = "Internal server error")
|
||||||
|
|||||||
Reference in New Issue
Block a user