-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Missing file browser in "Try it out" for multipart/form file uploads #3784
Comments
Closing in favor of #3641. |
I meet the same issue, how to fix it? |
I'm afraid I have hit the same road bump. Add one more user to the "futures" bucket tally for this issue. |
@webron can this be reopened? Still not seeing and not easy to track in the other list |
Same issue |
2 similar comments
Same issue |
Same issue |
@here - this has been implemented and is supposed to work (just tested it myself). If you encounter an issue, please file a new ticket with steps and details to help us investigate. |
I can say that the update worked for me
…On Thu, Jul 12, 2018, 8:43 AM Ron ***@***.***> wrote:
@here <https://github.com/here> - this has been implemented and is
supposed to work (just tested it myself). If you encounter an issue, please
file a new ticket with steps and details to help us investigate.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3784 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIgzVrZHv4eu_5WtTe4fBU6bPh6lV6mks5uF26IgaJpZM4P_DSW>
.
|
Previously (in OpenAPI 2.0), when creating an endpoint which takes a file upload via a
multipart/form
POST
request, theTry it out
section in Swagger UI showed aChoose File
button to select a file from my harddisk which then got uploaded when clicking theexecute
button.Following the docs on how to do such uploads in OpenAPI 3.0.0, however, I am missing that button in Swagger UI and see a textbox instead with a JSON representation of the
schema
.Is that expected behaviour (as in not yet implemented for OpenAPI 3.0.0) or is the file upload in my API definition incorrectly written?
dist
folder onnginx
Demonstration API definition
Working example in OpenAPI 2.0:
Non-working example in OpenAPI 3.0.0:
Expected Behavior
Current Behavior
The text was updated successfully, but these errors were encountered: