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

Issue 177 #542

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

TraivsBrookes96
Copy link

Updates to allow files lists, using the action="append" argument in the parser. Adds unit tests to confirm that this works, not only whilst the file list is present, but when other arguments are alongside the file list in a single form.

… accounts for multiple arguments as part of the form and sets the correct "consumes" values so that "multipart/form-data" gets submitted, as with a single file, when a list of files is present.
Ensuring formatting matches that of previous updates to this document
Copy link

@spartan124 spartan124 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can personally attest that this works, I was having issues uploading multi-part files and stumbled across this. had to add the line of code before the issues with swagger stopped. I think this PR should be approved to save time.

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.

None yet

2 participants