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

export class RunBrokenAccessControlDto {
  @ApiProperty({
    example: 'https://example.com',
    description: 'The base URL to scan for broken access control vulnerabilities.',
  })
  @IsUrl({}, { message: 'Invalid URL format' })
  url: string;
}

