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

File upload only displays the string "string($binary)" instead of upload button #2933

Open
2 of 4 tasks
w-biggs opened this issue Apr 29, 2024 · 0 comments
Open
2 of 4 tasks

Comments

@w-biggs
Copy link

w-biggs commented Apr 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

After following the official documentation, instead of a file upload button showing in Swagger, just the string "string($binary)" is printed.

image

Minimum reproduction code

https://github.com/w-biggs/repro-nest-swagger-file-upload-bug

Steps to reproduce

  1. npm install
  2. npm run start:dev
  3. Navigate to http://localhost:3001/api

Expected behavior

There is a file upload button.

Package version

7.3.1

NestJS version

9.4.3

Node.js version

21.5.0

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

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

No branches or pull requests

1 participant