UNPKG

postflame

Version:

🔥 Generate Postman collections automatically from Hono + Zod routes.

34 lines • 811 B
import { Hono } from 'hono'; export declare function generatePostmanCollection(app: Hono, name?: string): Promise<{ info: { name: string; schema: string; }; item: { name: string; item: any[]; }[]; } | { info: { name: string; schema: string; }; item: { name: string; request: { method: string; header: never[]; body: { mode: string; raw: string; } | undefined; url: { raw: string; host: string[]; path: string[]; }; }; }[]; }>; export declare function saveCollectionToFile(collection: any, outputPath: string): void; //# sourceMappingURL=generator.d.ts.map