wrekenfile-converter
Version:
Convert OpenAPI and Postman specs to Wrekenfile format with mini-chunking for vector DB storage
5 lines (4 loc) • 424 B
TypeScript
import { MiniWrekenfile } from './mini-wrekenfile-generator';
export declare function getMiniWrekenfilesForEndpoints(wrekenfileContent: string, targetEndpoints: string[]): MiniWrekenfile[];
export declare function getMiniWrekenfilesForMethods(wrekenfileContent: string, targetMethods: string[]): MiniWrekenfile[];
export declare function getMiniWrekenfileContent(wrekenfileContent: string, endpoint: string): string | null;