diff --git a/api/src/nlp/dto/nlp-value.dto.ts b/api/src/nlp/dto/nlp-value.dto.ts index dd729936..5c1c42d9 100644 --- a/api/src/nlp/dto/nlp-value.dto.ts +++ b/api/src/nlp/dto/nlp-value.dto.ts @@ -39,7 +39,7 @@ export class NlpValueCreateDto { @IsObject() metadata?: Record; - @ApiPropertyOptional({ type: String }) + @ApiPropertyOptional({ description: 'Nlp Value Description', type: String }) @IsString() @IsOptional() doc?: string; @@ -82,7 +82,7 @@ export class NlpValueUpdateDto { @IsObjectId({ message: 'Entity must be a valid ObjectId' }) entity?: string | null; - @ApiPropertyOptional({ type: String }) + @ApiPropertyOptional({ description: 'Nlp Value Description', type: String }) @IsString() @IsOptional() doc?: string;