Orval

Generate, valid, cache and mock in your frontend applications all with your OpenAPI specification
GitHub
4.06k
Created 5 years ago, last commit 7 hours ago
214 contributors
1.8k commits
Stars added on GitHub, month by month
6
7
8
9
10
11
12
1
2
3
4
5
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+1
Last week
+7.4
/day
Last month
+5.2
/day
Last 12 months
+4.5
/day
npmPackage on NPM
orval
7.9.0
Monthly downloads on NPM
6
7
8
9
10
11
12
1
2
3
4
5
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: