Swagger uses the provided example values to generate sample requests; if the type doesn't match, it could lead to validation issues.
Can you change the example value for the id in VendorDto to be a valid UUID format instead of '1', since Prisma's id field is a UUID?
For example:
@ApiProperty({ example: '550e8400-e29b-41d4-a716-446655440000', required: false })
@IsOptional()
@IsString()
id?: string;