Open jcarlo-vs opened 9 months ago
Can I work on it?. Please assign it to me
I had a similar issue to this, but found that it was an issue with the documentation version I was using. On v5.17.14
the latest documentation works for me - https://swagger.io/docs/specification/describing-request-body/file-upload/.
With the following YAML:
/upload:
post:
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
description: The file to upload.
required: true
Hello been trying to make a nodejs app with an endpoint that uploads a file.
Swagger/OpenAPI version: [ OpenAPI 3.0]
TRIED the code below and everything around the internet. but seems it really doesn't show and CHOOSE A FILE BUTTON to upload in, but just shows, an input textbox
CODE USED :
RESULT :![image](https://github.com/swagger-api/swagger-ui/assets/112655521/3854dcf3-f9f0-42e0-8d06-4ffe51bfc908)
EXPECTED RESULT![image](https://github.com/swagger-api/swagger-ui/assets/112655521/d5ca28dd-f3d6-4e54-b15a-a23c2ea90966)