Skip to content

OpenAPI CLI

Generate typed clients from an OpenAPI spec:

bash
npx tanstack-fetch generate --input ./openapi.yaml --out ./src/api

The CLI ships as the tanstack-fetch binary from the same package.

MIT Licensed · Created by Mohammad Garmabi · Not an official TanStack package