import { ApiProperty } from '@nestjs/swagger'; export class UploadFileDto { @ApiProperty({ format: 'binary' }) file: string; @ApiProperty() name: string; }