-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Editor cannot send request with file #599
Comments
For now, file only in body is supported. |
@mohsen1 - as the spec defines it, |
Yes @webron, I was about to point this out. |
@webron is this the only way to have file parameters in Swagger? |
Of type |
Moving it to next milestone. |
this bug is still not fixed because the code calls $.ajax with Content-Type as 'application/json'. scripts/controllers/tryoperation.js makeCall function
the contentType property should be set as false. |
Hi,
We have an endpoint with the following parameters:
I wanted to try the endpoint using the editor. I choose a file on the editor, set the header and then hit the "send request".
However, the editor doesn't send the file content. The following is the body is being send by the editor:
Whereas a proper request should have such a body:
Could you confirm that this issue about the swagger-editor?
The text was updated successfully, but these errors were encountered: