Bug Report Checklist
Description
The typescript-fetch generator doesn't parse the request object correctly when the content type is multipart/form-data and object has additional properties.
openapi-generator version
openapi-generator version 7.10.0
https://gist.github.com/ArshadRao/9ecbfbbb14c09927e0b078fd32e0dfcb
generated output

Issue in the generation
Generating unexpected typescript code to parse the request parameters on line 87, resulting in error for the whole file.
Generation Details
{ "withInterfaces": true, "enumPropertyNaming": "original" }
Steps to reproduce
openapi-generator-cli generate -i ./swagger.json -g typescript-fetch
Bug Report Checklist
Description
The typescript-fetch generator doesn't parse the request object correctly when the content type is multipart/form-data and object has additional properties.
openapi-generator version
openapi-generator version 7.10.0
https://gist.github.com/ArshadRao/9ecbfbbb14c09927e0b078fd32e0dfcb
generated output
Issue in the generation
Generating unexpected typescript code to parse the request parameters on line 87, resulting in error for the whole file.
Generation Details
{ "withInterfaces": true, "enumPropertyNaming": "original" }Steps to reproduce
openapi-generator-cli generate -i ./swagger.json -g typescript-fetch