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. 🍺

About the project

Orval is a code generator that turns OpenAPI or Swagger API descriptions into TypeScript clients with matching type definitions. It is used by developers building JavaScript and TypeScript applications, and can also generate models, requests, hooks, and mocks for supported frameworks.

This repository also configures its own agents. See what orval tells them →

6.5kStars on the repository
3Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

orval

01

orval-labs/orval

Skill Claude CodeCodex needs its repo

Generate type-safe API clients, TanStack Query/SWR hooks, Zod schemas, MSW mocks, Hono server handlers, MCP servers, and SolidStart actions from OpenAPI specs using Orval. Covers all clients (React/Vue/Svelte/Solid/Angular Query, Fetch, Axios), custom HTTP mutators, authentication patterns, NDJSON streaming…

not rated 6.5k +11 yesterday A Socket: passSnyk: passSkillSpector: warn 83 tokens original MIT