NestJs Swagger mixed types

后端 未结 0 1056
[愿得一人]
[愿得一人] 2020-11-21 09:17

I have a class that one of the properties can be string or array of strings, not sure how should I define it in swagger

    @ApiProperty({
        description         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题