pub fn router(ctx: impl Into<Arc<Context>>) -> RouterExpand description
Builds an axum::Router containing all auto-registered JSON API endpoints.
This is a convenience wrapper around RouterConfig::new(ctx).build().
Each resource that declared cinderblock_json_api in its extensions block will
have its endpoints automatically included via inventory — no manual
route construction is needed.