UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

25 lines (21 loc) 463 B
/** * Copyright IBM Corp. 2024, 2025 */ /** * Represents a group of validation errors for multiple files */ export type AiValidationErrorsGroup = { [filePath: string]: ValidationError[]; }; /** * Represents a validation error from the ruleset validation */ export interface ValidationError { message: string; severity: 'error' | 'warning'; rule_name: string; ruleset_name: string; path?: string; start_line?: number; end_line?: number; }