diff --git a/src/structures/groups.dto.ts b/src/structures/groups.dto.ts index 8644b728..402e1494 100644 --- a/src/structures/groups.dto.ts +++ b/src/structures/groups.dto.ts @@ -1,3 +1,4 @@ +import { ApiProperty } from '@nestjs/swagger'; import { IsArray, IsString } from 'class-validator'; /** @@ -5,6 +6,9 @@ import { IsArray, IsString } from 'class-validator'; */ export class Participant { @IsString() + @ApiProperty({ + example: '123456789@c.us', + }) id: string; } @@ -29,6 +33,7 @@ export class DescriptionRequest { @IsString() description: string; } + export class SubjectRequest { @IsString() subject: string;