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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 4 minutes ago
Added to GitGenius on September 10th, 2026
Created on February 5th, 2020
Open Issues & Pull Requests: 36 (-2)
GitHub issues: Enabled
Number of forks: 685
Total Stargazers: 6,452 (+0)
Total Subscribers: 13 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.6 hours
Mean response time: 42.4 days
90th percentile: 61.7 days
Tracked items: 987

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "fetch" is answered fastest, typically in about 3 hours, while "enhancement" waits about 2 days. Only 6% of issues opened in the past year have been closed. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 28
New in 7 days: 17
Closed in 7 days: 40
Avg open age: 228 days
Stale 30+ days: 11
Stale 90+ days: 8

Recent activity

Opened in 7 days: 16
Closed in 7 days: 31
Comments in 7 days: 6
Events in 7 days: 17

Top labels

  • bug (195)
  • enhancement (151)
  • zod (145)
  • tanstack-query (132)
  • fetch (81)
  • mock (71)
  • openapi (64)
  • angular (58)

Detailed Description

Orval is a code generator that produces TypeScript API clients with type signatures from OpenAPI v3 or Swagger v2 specifications in YAML or JSON format.

The tool solves the problem of manually writing and maintaining type-safe API client code by automatically generating it from your API specification. It parses valid OpenAPI or Swagger definitions and outputs TypeScript clients with full type coverage, eliminating the gap between your API contract and the code that consumes it. This approach keeps client code synchronized with API changes and reduces boilerplate while ensuring type safety across your application.

Orval suits teams building TypeScript applications that consume REST APIs defined in OpenAPI or Swagger. It works well in projects where API specifications are already in place or actively maintained, since the generator depends on having an accurate, up-to-date specification to work from. The tool integrates with popular frameworks and HTTP clients including Angular, React, React Query, and Axios, making it adaptable to different architectural choices. Teams should adopt it when they want to eliminate manual client code maintenance and ensure their TypeScript types always match their API contract.

The project shows consistent development activity with regular updates to the codebase. Maintenance is responsive to issues and pull requests, indicating active stewardship. The tool has accumulated a broad feature set including support for generating mock data with Faker and Mock Service Worker integration, suggesting the maintainers have expanded beyond basic code generation to support testing workflows. Documentation is maintained alongside the code, and the project sustains engagement with its user community through issue resolution.