···64646565### `setConfig()`
66666767-This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Axios configuration option to `setConfig()` (except for `auth`), and even your own Axios implementation.
6767+This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Axios configuration option to `setConfig()` (except for `auth`), and even your own [Axios](#custom-axios) implementation.
68686969```js
7070import { client } from 'client/client.gen';
···205205});
206206console.log(url); // prints '/foo/1?bar=baz'
207207```
208208+209209+## Custom `axios`
210210+211211+You can implement your own `axios` instance. This is useful if you need to extend the default `axios` instance with extra functionality, or replace it altogether.
212212+213213+```js
214214+import { client } from 'client/client.gen';
215215+216216+client.setConfig({
217217+ axios: () => {
218218+ /* custom `axios` instance */
219219+ },
220220+});
221221+```
222222+223223+You can use any of the approaches mentioned in [Configuration](#configuration), depending on how granular you want your custom instance to be.
208224209225<!--@include: ../../examples.md-->
210226<!--@include: ../../sponsors.md-->
+17-1
docs/openapi-ts/clients/fetch.md
···70707171### `setConfig()`
72727373-This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Fetch API configuration option to `setConfig()`, and even your own Fetch implementation.
7373+This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Fetch API configuration option to `setConfig()`, and even your own [Fetch](#custom-fetch) implementation.
74747575```js
7676import { client } from 'client/client.gen';
···282282});
283283console.log(url); // prints '/foo/1?bar=baz'
284284```
285285+286286+## Custom `fetch`
287287+288288+You can implement your own `fetch` method. This is useful if you need to extend the default `fetch` method with extra functionality, or replace it altogether.
289289+290290+```js
291291+import { client } from 'client/client.gen';
292292+293293+client.setConfig({
294294+ fetch: () => {
295295+ /* custom `fetch` method */
296296+ },
297297+});
298298+```
299299+300300+You can use any of the approaches mentioned in [Configuration](#configuration), depending on how granular you want your custom method to be.
285301286302<!--@include: ../../examples.md-->
287303<!--@include: ../../sponsors.md-->
+17-1
docs/openapi-ts/clients/next-js.md
···92929393### `setConfig()`
94949595-This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Fetch API configuration option to `setConfig()`, and even your own Fetch implementation.
9595+This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Fetch API configuration option to `setConfig()`, and even your own [Fetch](#custom-fetch) implementation.
96969797```js
9898import { client } from 'client/client.gen';
···269269});
270270console.log(url); // prints '/foo/1?bar=baz'
271271```
272272+273273+## Custom `fetch`
274274+275275+You can implement your own `fetch` method. This is useful if you need to extend the default `fetch` method with extra functionality, or replace it altogether.
276276+277277+```js
278278+import { client } from 'client/client.gen';
279279+280280+client.setConfig({
281281+ fetch: () => {
282282+ /* custom `fetch` method */
283283+ },
284284+});
285285+```
286286+287287+You can use any of the approaches mentioned in [Configuration](#configuration), depending on how granular you want your custom method to be.
272288273289<!--@include: ../../examples.md-->
274290<!--@include: ../../sponsors.md-->
+17-1
docs/openapi-ts/clients/nuxt.md
···86868787### `setConfig()`
88888989-This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Nuxt configuration option to `setConfig()`, and even your own `$fetch` implementation.
8989+This is the simpler approach. You can call the `setConfig()` method at the beginning of your application or anytime you need to update the client configuration. You can pass any Nuxt configuration option to `setConfig()`, and even your own [`$fetch`](#custom-fetch) implementation.
90909191```js
9292import { client } from 'client/client.gen';
···231231});
232232console.log(url); // prints '/foo/1?bar=baz'
233233```
234234+235235+## Custom `$fetch`
236236+237237+You can implement your own `$fetch` method. This is useful if you need to extend the default `$fetch` method with extra functionality, or replace it altogether.
238238+239239+```js
240240+import { client } from 'client/client.gen';
241241+242242+client.setConfig({
243243+ $fetch: () => {
244244+ /* custom `$fetch` method */
245245+ },
246246+});
247247+```
248248+249249+You can use any of the approaches mentioned in [Configuration](#configuration), depending on how granular you want your custom method to be.
234250235251<!--@include: ../../examples.md-->
236252<!--@include: ../../sponsors.md-->