Module routes

Module routes 

Source
Expand description

Axum router registration: maps every /api/v1/ path to its handler.

The OpenAPI JSON spec is served at GET /openapi.json and the Swagger UI is served at GET /docs.

Functionsยง

build_router
Build the axum router with all API endpoints and OpenAPI doc routes.