openapi-ts-json-schema
Version:
Generate TypeScript-first JSON schemas from OpenAPI definitions
11 lines (10 loc) • 403 B
TypeScript
import type { ModuleSystem, SchemaMetaDataMap } from '../../types.js';
/**
* Replace id placeholders with imported schemas
*/
export declare function replacePlaceholdersWithImportedSchemas({ schemaAsText, absoluteDirName, schemaMetaDataMap, moduleSystem, }: {
schemaAsText: string;
absoluteDirName: string;
schemaMetaDataMap: SchemaMetaDataMap;
moduleSystem: ModuleSystem;
}): string;