···1313- works with CLI, Node.js, or npx
1414- supports OpenAPI 2.0, 3.0, and 3.1 specifications
1515- supports both JSON and YAML input files
1616-- supports external references using [json-schema-ref-parser](https://github.com/APIDevTools/json-schema-ref-parser/)
1716- generates TypeScript interfaces, REST clients, and JSON Schemas
1817- Fetch API, Axios, Angular, Node.js, and XHR clients available
1919-- abortable requests through cancellable promise pattern
20182119## Documentation
2220
+25
docs/openapi-ts/configuration.md
···101101You might not need a `node` client. Fetch API is [experimental](https://nodejs.org/docs/latest-v18.x/api/globals.html#fetch) in Node.js v18 and [stable](https://nodejs.org/docs/latest-v21.x/api/globals.html#fetch) in Node.js v21. We recommend upgrading to the latest Node.js version.
102102:::
103103104104+<!--
105105+TODO: uncomment after c12 supports multiple configs
106106+see https://github.com/unjs/c12/issues/92
107107+-->
108108+<!-- ### Multiple Clients
109109+110110+If you want to generate multiple clients with a single `openapi-ts` command, you can provide an array of configuration objects.
111111+112112+```js
113113+import { defineConfig } from '@hey-api/openapi-ts';
114114+115115+export default defineConfig([
116116+ {
117117+ client: 'fetch',
118118+ input: 'path/to/openapi_one.json',
119119+ output: 'src/client_one',
120120+ },
121121+ {
122122+ client: 'axios',
123123+ input: 'path/to/openapi_two.json',
124124+ output: 'src/client_two',
125125+ },
126126+])
127127+``` -->
128128+104129## Formatting
105130106131By default, `openapi-ts` will not automatically format your client. To enable this feature, set `output.format` to a valid formatter.