You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: OpenAPI tags currently follow the existing route grouping (e.g. tag = "Analytics" seen in analytics_dashboard.rs). As new endpoints land under network/soroban/wallets/rankings, the tags should match the frontend's new nav IA (Overview/Assets/Wallets/Soroban/Rankings) rather than accumulating ad-hoc tags.
Where:
src/openapi.rs -- the #[derive(OpenApi)] tag list
Each new handler's #[utoipa::path(..., tag = "...")]
Go endpoint by endpoint, assign a tag matching the frontend nav IA (Overview/Assets/Wallets/Soroban/Rankings), and update each #[utoipa::path(..., tag = "...")].
Regenerate /api-docs and manually check the grouping renders sensibly, not just that the code compiles.
Watch out for:
This touches a lot of files across a lot of PRs that may have landed at different times with inconsistent tags already -- budget time for cleanup, not just addition.
Definition of done:
/api-docs groups endpoints under Overview/Assets/Wallets/Soroban/Rankings tags matching the frontend nav
Context: OpenAPI tags currently follow the existing route grouping (e.g.
tag = "Analytics"seen inanalytics_dashboard.rs). As new endpoints land under network/soroban/wallets/rankings, the tags should match the frontend's new nav IA (Overview/Assets/Wallets/Soroban/Rankings) rather than accumulating ad-hoc tags.Where:
src/openapi.rs-- the#[derive(OpenApi)]tag list#[utoipa::path(..., tag = "...")]What to do:
Suggested approach:
#[utoipa::path(..., tag = "...")]./api-docsand manually check the grouping renders sensibly, not just that the code compiles.Watch out for:
Definition of done:
/api-docsgroups endpoints under Overview/Assets/Wallets/Soroban/Rankings tags matching the frontend nav