
Orval
Generator that produces TypeScript API clients, models and optional mocks from OpenAPI v3 and Swagger v2 specifications.
Orval is a generator that reads an OpenAPI v3 or Swagger v2 specification, in YAML or JSON, and writes TypeScript code for it: API clients, models and optional mocks. The generated code targets several client libraries, such as React Query, SWR, Vue Query and Angular, and the tool is installed into a project with npm as a development dependency.
Projects that cannot install it locally can run code generation with the official Docker image, which the install guide names as an alternative route.
Worth knowing
Current releases require a recent Node.js line, so a project that runs an older one needs the Docker image to generate its code.
Identity
Rendering and deploy
- Install with
- npm, docker2
Releases
Adoption
Sources
- 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/orval-labs/orval - 2026-11-16: links, Runtime, Install with
orval.dev/docs/installation/ - 2026-11-16: Maintainer, License model
raw.githubusercontent.com/orval-labs/orval/master/LICENSE - 2026-11-16: Categories
raw.githubusercontent.com/orval-labs/orval/master/README.md - 2026-11-16: Minimum runtime
raw.githubusercontent.com/orval-labs/orval/v8.48.0/packages/orval/package.json - 2026-11-16: Current major version, Last release
api.github.com/repos/orval-labs/orval/releases/latest - 2026-11-16: First release
registry.npmjs.org/orval - 2026-11-16: Contributors
api.github.com/repos/orval-labs/orval/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/orval - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/orval