Self Hosting
Run the docs app against your own Guilders API environment
Environment Variables
Set the API origin for OpenAPI ingestion:
API_URL=http://localhost:3000The docs app loads your OpenAPI schema from:
$API_URL/openapi/json
Local Run
bun install
bun run dev --filter docsThen visit:
/for written documentation./api-referencefor generated OpenAPI pages.
Deployment Notes
- Host docs app as a separate Next.js service.
- Point
API_URLto your production API base URL. - Ensure CORS and auth policies allow your docs domain for interactive API testing.