Skip to content
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

Cannot send file when use the 'File' type #1431

Open
duanmw opened this issue Sep 12, 2023 · 1 comment
Open

Cannot send file when use the 'File' type #1431

duanmw opened this issue Sep 12, 2023 · 1 comment

Comments

@duanmw
Copy link

duanmw commented Sep 12, 2023

Describe the bug

Use 'File' type for upload file
image
But what's actually being sent is a string, not a file
image

My expectation is that it should be a file. This is my own HTML implementation of the request effect:
image

I looked at the source code and should be here for the reason. when type is file, value should be el.files[0]
image

Steps to reproduce

Information

  • Version of apidoc: 1.2.0
  • Operating system (e.g. GNU+Linux/MacOS/Windows): windows
  • Node version: 16
  • Browser (e.g. firefox, chrome):
@NicolasCARPi
Copy link
Collaborator

Hello,

Please take into account that there is nobody available to maintain this library. See #1436.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants