Skip to content

Commit 4fd5860

Browse files
authored
Merge pull request #22 from topcoder-platform/PM-921_qa-fixes
swagger fix
2 parents bacb196 + ae1a3bb commit 4fd5860

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/dto/adminWinning.dto.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,15 @@ export class WinningCreateRequestDto {
456456

457457
@ApiProperty({
458458
description: 'The payment details',
459+
type: [PaymentCreateRequestDto],
460+
example: [
461+
{
462+
totalAmount: 12.3,
463+
grossAmount: 15.0,
464+
installmentNumber: 1,
465+
currency: 'string',
466+
},
467+
],
459468
})
460469
@IsArray()
461470
@ValidateNested({ each: true })

0 commit comments

Comments
 (0)