You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am uploading picture, i have problem to process it with multer in node.js. I get error Multipart: Boundary not found and when I inspect request in browser, there is header with following content type:
content-type: multipart/form-data
but when I comment out line localVarHeaderParameter.set('Content-Type', 'multipart/form-data'); in generated api.ts than browser add automatically correct header:
Is it possible somehow force this openapi generator to not include problematic line with localVarHeaderParameter.set('Content-Type', 'multipart/form-data'); or somehow fix to to include boundary information too ?
Thank you.
The text was updated successfully, but these errors were encountered:
Hello, i have following openapi specification and trying to generate api using @openapi-generator-plus/typescript-fetch-client-generator": "^1.4.0" :
When I am uploading picture, i have problem to process it with multer in node.js. I get error Multipart: Boundary not found and when I inspect request in browser, there is header with following content type:
content-type: multipart/form-data
but when I comment out line localVarHeaderParameter.set('Content-Type', 'multipart/form-data'); in generated api.ts than browser add automatically correct header:
Content-Type: multipart/form-data; boundary=---------------------------100249134216970869883614643436
Is it possible somehow force this openapi generator to not include problematic line with localVarHeaderParameter.set('Content-Type', 'multipart/form-data'); or somehow fix to to include boundary information too ?
Thank you.
The text was updated successfully, but these errors were encountered: