Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mulitipart file send #97

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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