UNPKG

wrekenfile-converter

Version:

Convert OpenAPI and Postman specs into Wrekenfiles, with chunking for vector database storage

14 lines 529 B
/** * Utilities for working with STRUCTS in generated Wrekenfiles. * - Filters out unused structs (no STRUCT(...) reference anywhere) */ /** * Filter STRUCTS map on a Wrekenfile object to only keep structs that are actually used. * Usage is any occurrence of STRUCT(Name) in: * - METHOD.INPUTS / RETURNS / ERRORS * - HTTP.BODY.TYPE * - ASYNC.RESULT.TYPE * plus transitive references inside other structs. */ export declare function filterStructsByUsage(wrekenfile: any): void; //# sourceMappingURL=struct-utils.d.ts.map