UNPKG

openapi-ts-mock-generator

Version:
16 lines (13 loc) 754 B
import { PathNormalizedType, Options, SchemaOutputType, ParseSchemaType } from './types.mjs'; import 'openapi-types'; declare const writeHandlers: (paths: PathNormalizedType[], options: Options) => void; declare const writeResponses: (paths: PathNormalizedType[], options: Options) => Promise<void>; declare const writeSchema: (schemas: Record<string, SchemaOutputType>, options: Options) => void; declare const writeFaker: (options: Options) => void; declare const toUnquotedJSON: (param: ParseSchemaType, options: { depth?: number; isStatic?: boolean; singleLine?: boolean; }) => string; declare const multiLineStr: (str: string) => string; export { multiLineStr, toUnquotedJSON, writeFaker, writeHandlers, writeResponses, writeSchema };