Skip to content

Commit ae1a3bb

Browse files
committed
swagger fix
1 parent 8f87311 commit ae1a3bb

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)