UNPKG

openapi-ts-json-schema

Version:

Generate TypeScript-first JSON schemas from OpenAPI definitions

9 lines (8 loc) 403 B
import type { IdMapper, ModuleSystem, RefHandling, SchemaMetaData, SchemaMetaDataMap } from '../../types.js'; export declare function makeTsJsonSchema({ metaData, schemaMetaDataMap, refHandling, idMapper, moduleSystem, }: { metaData: SchemaMetaData; schemaMetaDataMap: SchemaMetaDataMap; refHandling: RefHandling; idMapper: IdMapper; moduleSystem: ModuleSystem; }): Promise<string>;