docs: Add comprehensive descriptions to all OpenAPI documentation endpoints and schemas
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
@@ -11,10 +11,12 @@ use crate::meta_plugin::MetaPluginType;
|
||||
#[utoipa::path(
|
||||
get,
|
||||
path = "/api/status",
|
||||
summary = "Get system status",
|
||||
description = "Retrieve comprehensive system status information including database configuration, data storage paths, supported compression engines, available metadata plugins, and system capabilities. This endpoint is useful for health checks and system diagnostics.",
|
||||
responses(
|
||||
(status = 200, description = "Successfully retrieved status information including database path, data directory, and supported plugins", body = ApiResponse<StatusInfo>),
|
||||
(status = 200, description = "Successfully retrieved complete system status including database path, data directory, supported plugins, and system information", body = ApiResponse<StatusInfo>),
|
||||
(status = 401, description = "Unauthorized - Invalid or missing authentication credentials"),
|
||||
(status = 500, description = "Internal server error - Failed to retrieve status information")
|
||||
(status = 500, description = "Internal server error - Failed to retrieve status information due to system error")
|
||||
),
|
||||
security(
|
||||
("bearerAuth" = [])
|
||||
|
||||
Reference in New Issue
Block a user