Loading…
Openapi-typescript is a Node.js library that turns OpenAPI 3.0/3.1 schemas into runtime-free TypeScript types, avoiding codegen and servers. It can load schemas from YAML or JSON, whether local or remote, and can generate types for very large schemas in milliseconds. You install it via npm and generate types with npx openapi-typescript, then import the generated types into your TypeScript project to type API endpoints, requests, and responses.
AI named openapi-typescript in March 2026.