orval-labs/orval
orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺 observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 5.0
- age_days: 2401
- days_rel: 10
- days_push: 7
- n_releases_24m: 69
Adoption not part of the score
6396 stars · 674 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Orval is a code generation tool that produces type-safe TypeScript API clients from OpenAPI v3 or Swagger v2 specifications in YAML or JSON format. It generates models, HTTP request functions, data-fetching hooks for frameworks like React Query, SWR, Angular, Vue, Svelte, and Solid, plus MSW mocks with Faker.js data.
Use cases
- generate typescript client from openapi spec
- create react query hooks from swagger json
- auto-generate msw mocks from openapi yaml
- generate zod schemas from openapi specification
- stop hand-writing api client boilerplate
- generate typed axios client from swagger v2
- mock backend for frontend testing from api spec
When to choose
- you have an OpenAPI/Swagger spec and want type-safe clients without manual boilerplate
- you use React Query, SWR, Angular, Vue, Svelte, or Solid and want generated hooks
- you need MSW mocks with Faker data to test frontend without a backend
- you want zod validation schemas generated from your API contract
When to avoid
- your API has no OpenAPI or Swagger specification
- you need a runtime API client library rather than generated code
- your spec is invalid or heavily non-standard, as generation depends on spec quality
Facets
cli-tool · maturity active
http-client mocking type-system cli web-development frontend apis developer-tools testing cli cross-platform openapi swagger typescript codegen react-query msw axios zod api-client-generator faker code-generation nodejs
3 sources
- readme: https://github.com/orval-labs/orval · fetched 2026-08-28 · 8881f3c1da3a
- homepage: https://orval.dev · fetched 2026-08-29 · 4bac72c97472
- site_page: https://orval.dev/docs · fetched 2026-08-29 · 84f330a0efb5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| orval-labs/orval | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="orval-labs/orval")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem