import { ApiHideProperty, ApiProperty } from '@nestjs/swagger'; export class SetPasswordDto { @ApiProperty() passwordResetToken: string; @ApiProperty() password: string; @ApiHideProperty() passwordHash: string; }