Open klabast opened 1 month ago
Yes having the same issue..
@wsdt did you manage to resolve this issue? sadly, i wasn't yet. not really in the mood to mess with post-processing or so...
Edit: Seems to be related to https://github.com/OpenAPITools/openapi-generator/issues/4119
@wsdt did you manage to resolve this issue? sadly, i wasn't yet. not really in the mood to mess with post-processing or so...
Edit: Seems to be related to #4119
not yet unfortunately!
Description
When creating a typescript-fetch API client, it seems OpenAPI Generator cannot handle Java FileUploads correctly. The generated code contains an objectToJSON function that does not exist and therefore the client code fails. When using a List, the generated code does not contain a missing function, but fails nonetheless
openapi-generator version
latest, happens on older ones as well.
OpenAPI declaration file content or url
Here is a minimal reproducer:
https://github.com/klabast/openapi-reproducer
Generation Details
Steps to reproduce
All documented in the reproducer.
Related issues/PRs
Perhaps https://github.com/OpenAPITools/openapi-generator/issues/17731