Skip to content

Conversation

@miAndreev
Copy link

In the openapi documetation the examples for file upload are with multipart. This change trys to support basic case of file(s) in the request body. The responisbility to pass correct files for now is passed to the user of the library.

In the openapi documetation the examples for file upload are with multipart.
This change trys to support basic case of file(s) in the request body.
The responisbility to pass correct files for now is passed to the user of the library.
@Dorthu
Copy link
Owner

Dorthu commented Apr 27, 2023

Reading it over, this looks good - I hadn't considered before the possibility that a request would have a regular body and a set of files, but having the fields separate handles this nicely. What schema are you testing this against?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants