How it is tested
npm run conformance generates the layer (with zod and infinite on) for every document of the public @readme/oas-examples corpus — 60 Swagger 2.0 / OpenAPI 3.0 / 3.1 documents covering circular references, polymorphism, discriminators, uploads, parameter styles and more — plus the fixture of the client tests, once for every client, and type-checks the output with tsc --strict --noUnusedLocals --noUnusedParameters against the real types of each library. All 9 clients × 62 documents pass.
The behaviour is run too, not only compiled (npm test): the fetch, axios, Angular HttpClient and @mrzr/api-client clients are called against a local HTTP server (query strings, path encoding, JSON, multipart and form bodies, headers, a per-call baseUrl, a result: false answer handed over as it is, each client’s own error on a failing status, abort, bytes and text answers — and the interceptors of axios and Angular, which see the answer the way the client reads it). Every hook library is executed (over fetch, axios and @mrzr/api-client, and Angular Query also over HttpClient): React Query and SWR rendered in jsdom, Vue Query inside an app, Solid Query under its browser build, Svelte Query as a component compiled with the Svelte compiler, Angular Query in Angular’s test bed. In each, data arrives, a changed argument moves the query, a mutation sends its variables, tearing down the owner aborts a mutation still in flight, a header argument is sent and moves the query, and an infinite list pages and sends its header with every page. A custom transport is compiled with its own config type and called with only the keys it has.
npm test builds and runs the suite (Node 20, 22 and 24 alike); npm run typecheck checks the types only.