Orval

A tool that reads an OpenAPI document and generates typed TypeScript API clients and TanStack Query hooks.

In more detail

Setting client to react-query in orval.config.ts makes Orval emit a query hook per endpoint plus query key helpers. Regenerating after each API change turns contract changes into compile errors.

Related terms

Taught in

References