[core] swagger participants

This commit is contained in:
devlikepro committed 2024-09-03 19:30:01 +07:00
1 parent f37f4466ae
commit 3450a56756
1 file changed
+5
+5
View File
@@ -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;