Orval : générer des clients TypeScript type-safe depuis des specs OpenAPI
Summary
Orval automates the generation of type-safe TypeScript API clients, mocks, and validators from OpenAPI specs, reducing boilerplate and speeding up development. It generates framework-specific hooks (React Query, Vue, Angular, and more) and can generate MSW mock data for testing. The article uses a Pet Store OpenAPI example to illustrate the workflow.