wrekenfile-converter
Version:
Convert OpenAPI and Postman specs into Wrekenfiles, with chunking for vector database storage
10 lines • 1.14 kB
TypeScript
import { MiniWrekenfile as MiniWrekenfileV1 } from './v1/mini-wrekenfile-generator';
import { MiniWrekenfile as MiniWrekenfileV2 } from './v2/mini-wrekenfile-generator';
export declare function getMiniWrekenfilesForEndpoints(wrekenfileContent: string, targetEndpoints: string[]): MiniWrekenfileV1[];
export declare function getMiniWrekenfilesForEndpointsV2(wrekenfileContent: string, targetEndpoints: string[]): MiniWrekenfileV2[];
export declare function getMiniWrekenfilesForMethods(wrekenfileContent: string, targetMethods: string[]): MiniWrekenfileV1[];
export declare function getMiniWrekenfilesForMethodsV2(wrekenfileContent: string, targetMethods: string[]): MiniWrekenfileV2[];
export declare function getMiniWrekenfilesForInterface(wrekenfileContent: string, interfaceName: string, source?: string): MiniWrekenfileV2[];
export declare function getMiniWrekenfileContent(wrekenfileContent: string, endpoint: string): string | null;
export declare function getMiniWrekenfileContentV2(wrekenfileContent: string, endpoint?: string, interfaceName?: string, source?: string): string | null;
//# sourceMappingURL=example-usage.d.ts.map