I have a multipart message that I am documenting with Swagger 1.3.4 for a file upload operation.
I've defined two parameters:
- file - the file to upload
- data - the JSON or XML message to describe metadata about the file we are uploading.
For the first parameter Swagger lets me select a file with the standard "Choose File" button.
For the second, I can type my message content, but I cannot select a content type for this part. When the message is sent, no content type is specified for this part.
This is a problem because I want to support both JSON and XML, but implementations will have no way of knowing how to parse the message.
Please see the screenshot for clarification.
