title: URL input validation NestJs
body: <p>I am trying an input validation on a website URL. I used the URL decorator but when I don't input any URL it gives me my error message. what should I do to make it accept empty string also?</p>
  <pre><code>  @ApiProperty()
    @IsString()
    @IsUrl(undefined, { message: 'Company URL is not valid.' })
    companyURL: string;
  </code></pre>