Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.43k
stars
228
forks
source link
Getting string instead of array when using multipart form data #356
Hello! Im using NestJs and Swagger. Im having this DTO to create documentation.
and this endpoint to create documentation.
so when im creating my object in swagger
i got this object.
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!
Hello! Im using NestJs and Swagger. Im having this DTO to create documentation.
and this endpoint to create documentation.
so when im creating my object in swagger
i got this object.
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!