diff --git a/hive-c0re/src/dashboard/mod.rs b/hive-c0re/src/dashboard/mod.rs index 463ce242..f3b3c563 100644 --- a/hive-c0re/src/dashboard/mod.rs +++ b/hive-c0re/src/dashboard/mod.rs @@ -20,15 +20,10 @@ use crate::lifecycle; /// Root of the auto-generated `OpenAPI` spec, served raw at /// `/api/openapi.json` — see [`utoipa`]. Swagger UI itself (browsable at -/// `/api/docs`) is nginx-hosted straight from the nix store now (see -/// `nix/host-modules/hive-gateway/vhosts.nix`'s `swaggerUiLocations`); -/// c0re only needs to serve the JSON this route generates, not the whole -/// vendored UI. Only routes carrying a -/// `#[utoipa::path(...)]` annotation show up; the rest of the (much -/// larger) route table below is undocumented for now. Deliberately -/// incremental: an unannotated route just doesn't appear in the spec, -/// nothing breaks, so routes get annotated as a series of small -/// follow-ups rather than one mega-diff. +/// `/api/docs`) is nginx-hosted from the nix store (see +/// `nix/host-modules/hive-gateway/vhosts.nix`'s `swaggerUiLocations`). +/// Only routes carrying a `#[utoipa::path(...)]` annotation show up in +/// the spec — an unannotated route just doesn't appear, nothing breaks. #[derive(OpenApi)] #[openapi( info(