Generate client with appropriate type-signatures

Generate, valid, cache and mock in your frontend applications all with your OpenAPI specification.

Productivity

Save time to drink a 🍺, get your api ready out of the box in a few seconds. Prevent human error, be sure on the return result by imposing standard formatting.

Error boundary

Get your contract ! With the combination of orval and openapi, you have a strong standard for your team which avoid any problem of missunderstanding and give you the possibility to focus on your ui.

API mocking

Don't wait for your backend to be ready to test your application. Generate your mocks with Orval, knowing that you are ready to be connected to your API.

Choose Live Example:

Basic

Less Time. More productivity.

Instead of losing time writing your models, HTTP calls and mocks, go ahead and be focused on the other requirements.

module.exports = {
petstore: {
output: {
mode: 'split',
target: './src/petstore.ts',
schemas: './src/model',
client: 'react-query',
mock: true,
},
input: {
target: './petstore.yaml',
},
},
};
my-app
└── src
β”œβ”€β”€ petstore.definition.ts
β”œβ”€β”€ petstore.schemas.ts
β”œβ”€β”€ petstore.msw.ts
β”œβ”€β”€ petstore.ts
└── model
β”œβ”€β”€ index.ts
β”œβ”€β”€ pet.ts
β”œβ”€β”€ pets.ts
β”œβ”€β”€ createPetsBody.ts
└── error.ts

Thanks for the support guys! 🍻

Copyright Β© 2024 Victor Bury. All Rights Reserved.