Open WeekendMan opened 5 years ago
"itemType" has to be added to response description too. For now it's impossible (or I can't find how to) set, for example, something like this:
@ApiOperationGet({ description: 'Blahblahblah', path: '/some-path', responses: { 200: { description: 'Successful request', type: SwaggerDefinitionConstant.Response.Type.ARRAY, itemType: SwaggerDefinitionConstant.STRING } }
Response example:
[ 'a', 'b', 'c' ]
"itemType" has to be added to response description too. For now it's impossible (or I can't find how to) set, for example, something like this:
Response example: