api
Version:
Magical SDK generation from an OpenAPI definition 🪄
18 lines • 647 B
TypeScript
/**
* @see {@link https://www.30secondsofcode.org/js/s/word-wrap}
*/
export declare function wordWrap(str: string, max?: number): string;
/**
* Safely escape some string characters that may break a docblock.
*
*/
export declare function docblockEscape(str: string): string;
/**
* Convert a JSON Pointer from `json-schema-traverse` into a path that lodash `set`/`setWith`
* understands.
*
* @see {@link https://datatracker.ietf.org/doc/html/rfc6901}
*/
export declare function jsonPointerToPath(pointer: string): (string | number)[];
export declare function generateTypeName(...parts: string[]): string;
//# sourceMappingURL=util.d.ts.map