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 file uploads #3

Closed
cobusc opened this issue Nov 7, 2017 · 1 comment
Closed

Add support for file uploads #3

cobusc opened this issue Nov 7, 2017 · 1 comment

Comments

@cobusc
Copy link
Contributor

cobusc commented Nov 7, 2017

https://swagger.io/docs/specification/2-0/file-upload/

Swagger makes provision for uploading files using form data:

paths:
   /upload:
     post:
       summary: Uploads a file.
       consumes:
         - multipart/form-data
       parameters:
         - in: formData
           name: upfile
           type: file
           description: The file to upload.

Currently in: formData is not supported in this tool.
Files are available in the request.FILES dictionary in Django.

@cobusc
Copy link
Contributor Author

cobusc commented Nov 8, 2017

Closed by commit 3e80046

@cobusc cobusc closed this as completed Nov 8, 2017
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

No branches or pull requests

1 participant