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

Getting string instead of array when using multipart form data #356

Open
EngineerMonkey404 opened this issue Jul 26, 2023 · 2 comments
Open

Comments

@EngineerMonkey404
Copy link

Hello! Im using NestJs and Swagger. Im having this DTO to create documentation.
image

and this endpoint to create documentation.
image

so when im creating my object in swagger
image

i got this object.
image

There are some properties, like 'categories' or 'companies' which are supposed to be arrays but instead are strings. How can i fix it? Thanks for answer!

@Bekhx
Copy link

Bekhx commented Aug 22, 2023

I have the same issue

@mhdmoh
Copy link

mhdmoh commented May 17, 2024

I am also having the same issue, did anyone find a solution ?

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

3 participants