/** * GET /api/docs — Rendered API reference (Redoc UI). * * Serves an HTML page that loads Redoc from a CDN and points it at * `/openapi.yaml` (the same canonical spec maintained at * `docs/openapi.yaml` in the repo). The CDN dependency is documented in * `docs/architecture/standalone-renderer-strategy.md`; if the deployment * is air-gapped, mirror the Redoc assets under `public/vendor/redoc/` * and update the `; export function GET() { return new Response(REDOC_HTML, { status: 200, headers: { "Content-Type": "text/html; charset=utf-8", "Cache-Control": "public, max-age=300, s-maxage=300", "X-Robots-Tag": "noindex", }, }); }