Purpose
Generate and serve OpenAPI (Swagger) documentation derived from Zod schemas and Next.js API routes.
Arguments
--serve— Start Swagger UI at/api/docs--export <path>— Export OpenAPI spec to file (default:openapi.json)- (no args) — Generate spec and report endpoints documented
What gets created
apps/web/
├── app/api/docs/route.ts # Swagger UI endpoint
├── src/lib/openapi.ts # OpenAPI spec generator
└── openapi.json #
[Description truncada. Veja o README completo no GitHub.]