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.

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

You want to support open-source?

Copyright © 2022 Victor Bury. All Rights Reserved.