annoted dtos for swagger
This commit is contained in:
parent
fdf0efd17f
commit
a92c4bec1f
7 changed files with 37 additions and 7 deletions
|
|
@ -1,4 +1,9 @@
|
|||
export class UpdateMerchantDto {
|
||||
import { CreateMerchantDto } from './create-merchant.dto';
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class UpdateMerchantDto extends CreateMerchantDto {
|
||||
@ApiProperty({
|
||||
description: 'Unique ID of merchant'
|
||||
})
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue