annoted dtos for swagger
This commit is contained in:
parent
fdf0efd17f
commit
a92c4bec1f
7 changed files with 37 additions and 7 deletions
|
|
@ -3,7 +3,7 @@ import { ApiProperty } from '@nestjs/swagger';
|
|||
|
||||
export class UpdateExpenseDto extends CreateExpenseDto {
|
||||
@ApiProperty({
|
||||
description: 'UUID of the expense'
|
||||
description: 'Unique ID of the expense'
|
||||
})
|
||||
id: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue