diff --git a/README.md b/README.md index 35dd836f9..bbb84cb80 100644 --- a/README.md +++ b/README.md @@ -99,14 +99,14 @@ Alternatively, you can use `openapi-ts.config.js` and configure the export state ### Clients -We provide a variety of possible clients to use when generating your `openapi-ts` client. The following are available: +We provide a variety of possible clients to use when generating your `openapi-ts` client. If one is not specified by the user, we will try to infer the client to use. If the inferred client is not correct, you can set it with the client config parameter. The following are available: - `angular`: An [Angular](https://angular.io/) client using [RxJS](https://rxjs.dev/). - `axios`: An [Axios](https://axios-http.com/docs/intro) client. -- `fetch`: A [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) client. +- `fetch`: A [Fetch API](https://developer.mozilla.org/docs/Web/API/Fetch_API) client. > NOTE: The Fetch API is experimental in Node.js 18+ and was stabilized in [Node.js v21](https://nodejs.org/docs/latest-v21.x/api/globals.html#fetch) - `node`: A [Node.js](https://nodejs.org/) client using [node-fetch](https://www.npmjs.com/package/node-fetch). -- `xhr`: A [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) client. +- `xhr`: A [XMLHttpRequest](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest) client. ### Formatting