UNPKG

@simplyhomes/sos-sdk

Version:

TypeScript SDK for Simply Homes SoS API v4

17 lines 641 B
import type { SDKConfig } from './config-parser'; import type { TypeMap } from './type-detector'; export interface ValidationError { resourcePath: string; endpoint: string; error: string; } /** * Validate all configured endpoints against OpenAPI spec (STRICT MODE) * Returns array of validation errors - empty array means all valid */ export declare function validateEndpoints(config: SDKConfig, typeMap: TypeMap): Promise<ValidationError[]>; /** * Print validation errors in a user-friendly format */ export declare function formatValidationErrors(errors: ValidationError[]): string; //# sourceMappingURL=validator.d.ts.map