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( #[utoipa::path(
get, get,
path = "/api/item/", path = "/api/item/",
operation_id = "list_items", operation_id = "keep_list_items",
summary = "List stored items", summary = "List stored items",
description = "Get paginated items with metadata and tags. Filter by tags, sort by creation time.", description = "Get paginated items with metadata and tags. Filter by tags, sort by creation time.",
responses( responses(
@@ -101,7 +101,7 @@ pub async fn handle_list_items(
#[utoipa::path( #[utoipa::path(
post, post,
path = "/api/item/", path = "/api/item/",
operation_id = "post_item", operation_id = "keep_post_item",
summary = "Store new item", summary = "Store new item",
description = "Upload content to store as a new item. Content is compressed, analyzed for metadata, and stored.", description = "Upload content to store as a new item. Content is compressed, analyzed for metadata, and stored.",
responses( responses(
@@ -141,7 +141,7 @@ pub async fn handle_post_item(
#[utoipa::path( #[utoipa::path(
get, get,
path = "/api/item/latest/content", path = "/api/item/latest/content",
operation_id = "get_item_latest_content", operation_id = "keep_get_item_latest_content",
summary = "Download latest item content", summary = "Download latest item content",
description = "Get raw content of the most recent item. Filter by tags. Binary content can be restricted.", description = "Get raw content of the most recent item. Filter by tags. Binary content can be restricted.",
responses( responses(
@@ -203,7 +203,7 @@ pub async fn handle_get_item_latest_content(
#[utoipa::path( #[utoipa::path(
get, get,
path = "/api/item/{item_id}/content", path = "/api/item/{item_id}/content",
operation_id = "get_item_content", operation_id = "keep_get_item_content",
summary = "Download item content", summary = "Download item content",
description = "Get raw content of a specific item by ID. Binary content can be restricted.", description = "Get raw content of a specific item by ID. Binary content can be restricted.",
responses( responses(
@@ -316,7 +316,7 @@ async fn stream_item_content_response_with_metadata(
#[utoipa::path( #[utoipa::path(
get, get,
path = "/api/item/latest/meta", path = "/api/item/latest/meta",
operation_id = "get_item_latest_meta", operation_id = "keep_get_item_latest_meta",
summary = "Get latest item metadata", summary = "Get latest item metadata",
description = "Retrieve metadata for the most recent item. Filter by tags.", description = "Retrieve metadata for the most recent item. Filter by tags.",
responses( responses(
@@ -374,7 +374,7 @@ pub async fn handle_get_item_latest_meta(
#[utoipa::path( #[utoipa::path(
get, get,
path = "/api/item/{item_id}/meta", path = "/api/item/{item_id}/meta",
operation_id = "get_item_meta", operation_id = "keep_get_item_meta",
summary = "Get item metadata", summary = "Get item metadata",
description = "Retrieve metadata for a specific item by ID.", description = "Retrieve metadata for a specific item by ID.",
responses( responses(

View File

@@ -13,7 +13,7 @@ use crate::compression_engine::CompressionType;
#[utoipa::path( #[utoipa::path(
get, get,
path = "/api/status", path = "/api/status",
operation_id = "status", operation_id = "keep_status",
summary = "Get system status", summary = "Get system status",
description = "Retrieve system status including database info, storage paths, compression engines, and metadata plugins.", description = "Retrieve system status including database info, storage paths, compression engines, and metadata plugins.",
responses( responses(