Hi,
The generated uploadFile function define a content type x-www-form-urlencoded:
headerParameters['Content-Type'] = 'application/x-www-form-urlencoded';
But in the swagger.json has:
"consumes": [
"multipart/form-data"
],
(The request POST a correct formData)