Generate TypeScript interfaces, REST clients, and JSON Schemas from OpenAPI specifications.
- works with CLI, Node.js, or npx
- supports OpenAPI 2.0, 3.0, and 3.1 specifications
- supports both JSON and YAML input files
- supports external references using json-schema-ref-parser
- generates TypeScript interfaces, REST clients, and JSON Schemas
- Fetch API, Axios, Angular, Node.js, and XHR clients available
- abortable requests through cancellable promise pattern
Please visit our website for documentation, guides, migrating, and more.
Automatically update your code when the APIs it depends on change. Find out more.
Please read our migration guide.
Want to get involved? Please refer to the contributing guide.