wrekenfile-converter
Version:
Convert OpenAPI and Postman specs into Wrekenfiles, with chunking for vector database storage
18 lines • 644 B
TypeScript
interface ValidationResult {
isValid: boolean;
errors: string[];
warnings: string[];
}
interface WrekenfileStructure {
VERSION?: string;
INIT?: {
DEFAULTS?: any[];
};
INTERFACES?: Record<string, any>;
STRUCTS?: Record<string, any>;
}
declare function fixWrekenfile(data: WrekenfileStructure): string;
declare function validateWrekenfile(filePath: string): ValidationResult;
declare function printValidationResult(result: ValidationResult): void;
export { validateWrekenfile, fixWrekenfile, ValidationResult, WrekenfileStructure, printValidationResult };
//# sourceMappingURL=wrekenfile-validator.d.ts.map