Skip to content

Commit

Permalink
chore: add example middleName in create-user.dto AB#32346
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisvisser committed Dec 19, 2024
1 parent b66736a commit 237a2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/API-service/src/api/user/dto/create-user.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CreateUserDto {
@IsNotEmpty()
public firstName: string;

@ApiProperty({ required: false })
@ApiProperty({ example: 'middle-name', required: false })
@IsString()
@IsOptional()
public middleName?: string;
Expand Down

0 comments on commit 237a2dc

Please sign in to comment.