| 1 | import { ApiProperty } from '@nestjs/swagger'; |
| 2 | |
| 3 | export class UploadAvatarResponseDTO |
| 4 | @ApiProperty({ |
| 5 | description: 'Absolute URL the stored avatar is served from', |
| 6 | example: 'http://localhost:3001/api/users/avatars/<userId>/<name>.png', |
| 7 | }) |
| 8 | url: string; |
| 9 | } |