import { ApiProperty } from '@nestjs/swagger'; import { IsString, IsStrongPassword } from 'class-validator'; export class ResetPasswordDTO { @ApiProperty() @IsString() resetToken: string; @ApiProperty() @IsStrongPassword() newPassword: string; }