UNPKG

openapi-typescript

Version:

Convert OpenAPI 3.0 & 3.1 schemas to TypeScript

7 lines (6 loc) 297 B
import type { GlobalContext, SchemaObject } from "../types.js"; export interface TransformSchemaMapOptions { path: string; ctx: GlobalContext; } export default function transformSchemaObjectMap(schemaObjMap: Record<string, SchemaObject>, { path, ctx }: TransformSchemaMapOptions): string;