I am using Swagger to document my REST services. One of my services requires a CSV file to be uploaded. I added the following to the parameters section in my JS
parameters
Mine seems to work with
"paramType": "formData", "dataType": "file",