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
Describe the bug
When an OpenAPI 3.0 schema defines a property as an array of binaries inside a multipart/form-data requestBody, the generator currently treats it as a JSON body and emits a single body parameter. As a result:
The generated sync_detailed(...) signature has only:
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When an OpenAPI 3.0 schema defines a property as an array of binaries inside a multipart/form-data requestBody, the generator currently treats it as a JSON body and emits a single body parameter. As a result:
sync_detailed(...)
signature has only:body.files
(a list ofFile
objects withpayload: BinaryIO
) is passed tojson=…
, causing serialization errors.OpenAPI Spec File
What actually happens
Desktop:
Additional context
None - if anything is needed, please let me know
The text was updated successfully, but these errors were encountered: