File

src/auth/dtos/auth-forgot-password-user.dto.ts

Index

Properties

Properties

email
Type : string
Decorators :
@ApiProperty({type: 'string', required: true})
@IsEmail()
import { ApiProperty } from "@nestjs/swagger";
import { IsEmail } from "class-validator";

export class AuthForgotPasswordUserDto {
  @ApiProperty({
    type: "string",
    required: true,
  })
  @IsEmail()
  email: string;
}

results matching ""

    No results matching ""