@mrzr/openapi-forge
Generate a typed TypeScript API layer — models, request functions, query keys and data-fetching hooks — from OpenAPI / Swagger documents.
npm i -D @mrzr/openapi-forgenpx @mrzr/openapi-forge --input swagger.json --out src/api/generatedThe output is plain, readable TypeScript that is formatted with your own Prettier and is deterministic, so --check can fail CI when the committed layer is stale.