import { ApiProperty } from '@nestjs/swagger'; export class LoginDto { @ApiProperty() username: string; @ApiProperty() password: string; @ApiProperty({ required: false }) totp: string; }