Skip to content

Commit

Permalink
feat: Add ParticipantsDTO for getParticipantsLocation API response
Browse files Browse the repository at this point in the history
  • Loading branch information
suk-6 committed Jul 15, 2024
1 parent 43ad089 commit c3005c7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/modules/location/dto/participants.dto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { IsArray } from 'class-validator';

import { ApiProperty } from '@nestjs/swagger';

import { LocationDTO } from './update.dto';

export class ParticipantsDTO {
@ApiProperty({
example: 'userid: LocationDTO[]',
})
@IsArray()
'userid': LocationDTO[];
}

0 comments on commit c3005c7

Please sign in to comment.