import { ApiProperty } from '@nestjs/swagger';
import { IsUrl } from 'class-validator';

export class RunOwaspScanDto {
  @ApiProperty({
    example: 'https://cyberalertnepal.com',
    description: 'The base URL to run all OWASP security scans against.',
  })
  @IsUrl({}, { message: 'Invalid URL format' })
  url: string;
}