src/auth/dtos/auth-forgot-password-user.dto.ts
Properties |
Type : string
|
Decorators :
@ApiProperty({type: 'string', required: true})
|
import { ApiProperty } from "@nestjs/swagger";
import { IsEmail } from "class-validator";
export class AuthForgotPasswordUserDto {
@ApiProperty({
type: "string",
required: true,
})
@IsEmail()
email: string;
}