···11+import react from '@vitejs/plugin-react';
22+import { defineConfig } from 'vite';
33+44+// https://vitejs.dev/config/
55+export default defineConfig({
66+ plugins: [react()],
77+});
+1-1
packages/client-axios/src/types.ts
···3232 * A function for serializing request body parameter. By default,
3333 * {@link JSON.stringify()} will be used.
3434 */
3535- bodySerializer?: BodySerializer;
3535+ bodySerializer?: BodySerializer | null;
3636 /**
3737 * An object containing any HTTP headers that you want to pre-populate your
3838 * `Headers` object with.
+1-1
packages/client-fetch/src/types.ts
···2424 * A function for serializing request body parameter. By default,
2525 * {@link JSON.stringify()} will be used.
2626 */
2727- bodySerializer?: BodySerializer;
2727+ bodySerializer?: BodySerializer | null;
2828 /**
2929 * Fetch API implementation. You can use this option to provide a custom
3030 * fetch instance.
+1-1
packages/client-nuxt/src/types.ts
···6565 * A function for serializing request body parameter. By default,
6666 * {@link JSON.stringify()} will be used.
6767 */
6868- bodySerializer?: BodySerializer;
6868+ bodySerializer?: BodySerializer | null;
6969 /**
7070 * An object containing any HTTP headers that you want to pre-populate your
7171 * `Headers` object with.
···254254 });
255255 break;
256256 case 'json':
257257+ // jsonBodySerializer is the default, no need to specify
258258+ break;
259259+ case 'text':
260260+ // ensure we don't use any serializer by default
261261+ requestOptions.push({
262262+ key: 'bodySerializer',
263263+ value: null,
264264+ });
257265 break;
258266 case 'url-search-params':
259267 requestOptions.push({ spread: 'urlSearchParamsBodySerializer' });
···11// This file is auto-generated by @hey-api/openapi-ts
22-export * from './types.gen';22+export * from './types.gen';
33+export * from './sdk.gen';
···11// This file is auto-generated by @hey-api/openapi-ts
22-export * from './types.gen';22+export * from './types.gen';
33+export * from './sdk.gen';
···11// This file is auto-generated by @hey-api/openapi-ts
22-export * from './types.gen';22+export * from './types.gen';
33+export * from './sdk.gen';
···3232 * A function for serializing request body parameter. By default,
3333 * {@link JSON.stringify()} will be used.
3434 */
3535- bodySerializer?: BodySerializer;
3535+ bodySerializer?: BodySerializer | null;
3636 /**
3737 * An object containing any HTTP headers that you want to pre-populate your
3838 * `Headers` object with.
···2424 * A function for serializing request body parameter. By default,
2525 * {@link JSON.stringify()} will be used.
2626 */
2727- bodySerializer?: BodySerializer;
2727+ bodySerializer?: BodySerializer | null;
2828 /**
2929 * Fetch API implementation. You can use this option to provide a custom
3030 * fetch instance.
···6565 * A function for serializing request body parameter. By default,
6666 * {@link JSON.stringify()} will be used.
6767 */
6868- bodySerializer?: BodySerializer;
6868+ bodySerializer?: BodySerializer | null;
6969 /**
7070 * An object containing any HTTP headers that you want to pre-populate your
7171 * `Headers` object with.