I need to send pictures and data about them to the server. So I use multipart/form-data for this. But in SwaggerUI my array is built wrong.
I have this code in my CreateDTO
@IsArray()
@ApiProperty({ example: ['3D', 'Armor'] })
@Transform((params) => {
return JSON.parse(params.value)
})
readonly tags: Array<string>
When i trying to make request, i get this in CURL output