Skip to main content

router_v2

Function router_v2 

Source
pub(crate) fn router_v2<S>(state: Arc<S>, modules: OptionalModules) -> Router
Expand description

The v2 REST routes exactly as serve_axum mounts them. Extracted so the test asserting every documented route is mounted exercises the same construction; don’t inline it back.