-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hi,
There is an issue arround multipart entrypoint. Is not possible to upload file!
There is always this error message from apigee-127/sway librairy:
Error: req.files must be provided for 'formData' parameters of type 'file'
This my package.json dependencies:
"dependencies": {
"express": "^4.16.2",
"swagger-express-mw": "~0.7.0"
},
And the definition of my entrypoint:
/upload:
x-swagger-router-controller: upload
post:
tags:
- labels
description: Upload file
consumes:
- multipart/form-data
operationId: upload
parameters:
- name: myFile
type: file
in: formData
description: The file to upload.
required: true
- name: myText
type: string
in: formData
description: Description of the file
required: true
responses:
"201":
description: Success
schema:
$ref: "#/definitions/UploadResponse"
default:
description: Error
schema:
$ref: "#/definitions/ErrorResponse"
Could I hope an update or a fix for this issue?
If not, could you tell me what direction to take?
Metadata
Metadata
Assignees
Labels
No labels