Generate, valid, cache and mock in your frontend applications all with your OpenAPI specification.
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.
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.
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.
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