dto test login
This commit is contained in:
parent
ae6ee552c8
commit
6c2ebe9cab
@ -2,7 +2,7 @@ import { ApiProperty } from "@nestjs/swagger";
|
||||
import { IsEmail, IsString, MaxLength, MinLength } from "class-validator";
|
||||
|
||||
export class LoginDto {
|
||||
@ApiProperty({ example: 'my.user@example.com', description: "Adresse email de l'utililisateur" })
|
||||
@ApiProperty({ example: 'mon.utilisateur@exemple.com', description: "Adresse email de l'utililisateur" })
|
||||
@IsEmail()
|
||||
email: string;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user