diff --git a/src/modes/server/api/item.rs b/src/modes/server/api/item.rs index 910ce08..61a5845 100644 --- a/src/modes/server/api/item.rs +++ b/src/modes/server/api/item.rs @@ -14,7 +14,7 @@ use crate::modes::server::common::{AppState, ApiResponse, ItemInfo, TagsQuery, L #[utoipa::path( get, path = "/api/item/", - operation_id = "list_items", + operation_id = "keep_list_items", summary = "List stored items", description = "Get paginated items with metadata and tags. Filter by tags, sort by creation time.", responses( @@ -101,7 +101,7 @@ pub async fn handle_list_items( #[utoipa::path( post, path = "/api/item/", - operation_id = "post_item", + operation_id = "keep_post_item", summary = "Store new item", description = "Upload content to store as a new item. Content is compressed, analyzed for metadata, and stored.", responses( @@ -141,7 +141,7 @@ pub async fn handle_post_item( #[utoipa::path( get, path = "/api/item/latest/content", - operation_id = "get_item_latest_content", + operation_id = "keep_get_item_latest_content", summary = "Download latest item content", description = "Get raw content of the most recent item. Filter by tags. Binary content can be restricted.", responses( @@ -203,7 +203,7 @@ pub async fn handle_get_item_latest_content( #[utoipa::path( get, path = "/api/item/{item_id}/content", - operation_id = "get_item_content", + operation_id = "keep_get_item_content", summary = "Download item content", description = "Get raw content of a specific item by ID. Binary content can be restricted.", responses( @@ -316,7 +316,7 @@ async fn stream_item_content_response_with_metadata( #[utoipa::path( get, path = "/api/item/latest/meta", - operation_id = "get_item_latest_meta", + operation_id = "keep_get_item_latest_meta", summary = "Get latest item metadata", description = "Retrieve metadata for the most recent item. Filter by tags.", responses( @@ -374,7 +374,7 @@ pub async fn handle_get_item_latest_meta( #[utoipa::path( get, path = "/api/item/{item_id}/meta", - operation_id = "get_item_meta", + operation_id = "keep_get_item_meta", summary = "Get item metadata", description = "Retrieve metadata for a specific item by ID.", responses( diff --git a/src/modes/server/api/status.rs b/src/modes/server/api/status.rs index 0e601a9..192bab1 100644 --- a/src/modes/server/api/status.rs +++ b/src/modes/server/api/status.rs @@ -13,7 +13,7 @@ use crate::compression_engine::CompressionType; #[utoipa::path( get, path = "/api/status", - operation_id = "status", + operation_id = "keep_status", summary = "Get system status", description = "Retrieve system status including database info, storage paths, compression engines, and metadata plugins.", responses(