pub async fn get_openapi() -> Json<Value>Expand description
GET /api/openapi.json — serve the document.
Built per request rather than cached: it is a handful of milliseconds of
serde_json on a route nothing calls in a hot loop, and a OnceLock here
would keep a stale document alive across a hot-reload in tests.