@automatons/typescript-client-fetch
v1.2.0
Published
[](https://github.com/openapi-automatons/typescript-client-fetch/actions/workflows/ci-cd.yml) [.
Only use openapi-automatons.
This package is ESM-only and requires Node.js >= 22.
Each generated operation returns a FetchResponse<T> ({ data, status, statusText, headers, response }), so consumers can write const { data } = await api.xxx().
Non-2xx responses are not thrown — inspect response.ok / status instead.
How can I use @automatons/typescript-client-fetch?
This library is designed to be used by openapi-automatons. Please read the readme of openapi-automatons for how to use it.
