@beignet/core
Version:
Core framework primitives for Beignet
9 lines • 343 B
TypeScript
import type { HttpMethod } from "./types.js";
/**
* Generate a stable contract name from an HTTP method and path.
*
* `/api` is ignored as a leading path segment so generated names focus on the
* resource shape.
*/
export declare function generateContractName(method: HttpMethod, path: string): string;
//# sourceMappingURL=utils.d.ts.map