Orval

Generate, valid, cache and mock in your frontend applications all with your OpenAPI specification
GitHub
3.94k
Created 5 years ago, last commit 3 days ago
202 contributors
1.79k commits
Stars added on GitHub, month by month
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+3
Last week
+3.3
/day
Last month
+4.6
/day
Last 12 months
+4.4
/day
npmPackage on NPM
orval
7.9.0
Monthly downloads on NPM
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
README

npm version NPM Downloads License: MIT tests orval Gurubase

orval - Restfull Client Generator

Visit orval.dev for docs, guides, API and beer!

⚠️ Actively searching for contributors, if you want to help, please contact me on discord ⚠️

Code Generation

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.

Supported clients

generate models, requests, hooks, mocks and more, for these supported clients:

Samples

You can find some samples below:

Playground

Try Orval out for yourself using our Playground application!

Star History

Star History Chart

All Thanks To Our Contributors: