Expand description
Small axum router for serving an embedded Scalar API reference.
Structs§
- Scalar
Options - Route and page options for the embedded Scalar API reference.
Constants§
- SCALAR_
VERSION - The Scalar API Reference version embedded by this crate.
Functions§
- router
- Builds a router with
/scalar,/openapi.json, and the embedded Scalar JS. - router_
with_ options - Builds a router with custom paths and page title.