openapi-ts-json-schema
Version:
OpenAPI to JSON schema generator with TypeScript in mind
10 lines (9 loc) • 340 B
TypeScript
import type { SchemaMetaDataMap } from '../../types';
/**
* Replace id placeholders with imported schemas
*/
export declare function replacePlaceholdersWithImportedSchemas({ schemaAsText, absoluteDirName, schemaMetaDataMap, }: {
schemaAsText: string;
absoluteDirName: string;
schemaMetaDataMap: SchemaMetaDataMap;
}): string;