refactor: prefix operation ids with "keep_"

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-28 16:51:11 -03:00
parent 51db54e0aa
commit 91bd270d9e
2 changed files with 7 additions and 7 deletions

View File

@@ -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(