···11+---
22+'@hey-api/openapi-ts': patch
33+---
44+55+fix: remove Content-Type header with multipart/form-data content type
+7-1
packages/openapi-ts/src/generate/services.ts
···255255 {
256256 spread: 'formDataBodySerializer',
257257 },
258258- // no need for Content-Type header, browser will set it automatically
258258+ {
259259+ key: 'headers',
260260+ value: {
261261+ // no need for Content-Type header, browser will set it automatically
262262+ 'Content-Type': null,
263263+ },
264264+ },
259265 ];
260266 onClientImport?.('formDataBodySerializer');
261267 }