UNPKG

openapi-ts-json-schema

Version:

Generate TypeScript-first JSON schemas from OpenAPI definitions

10 lines (9 loc) 291 B
/** * Parse a dotted definition path and extract the schema name and relative directory name. * * @returns The extracted schema name and relative directory name */ export declare function parseSingleItemPath(path: string): { schemaName: string; schemaRelativeDirName: string; };