UNPKG

typed-openapi

Version:
27 lines (24 loc) 966 B
import * as arktype_internal_methods_object_ts from 'arktype/internal/methods/object.ts'; import { N as NameTransformOptions } from './types-BOJSTQwz.js'; import 'openapi3-ts/oas31'; import 'openapi3-ts/oas30'; declare const optionsSchema: arktype_internal_methods_object_ts.ObjectType<{ runtime: "none" | "arktype" | "io-ts" | "typebox" | "valibot" | "yup" | "zod"; tanstack: string | boolean; schemasOnly: boolean; output?: string; defaultFetcher?: { envApiBaseUrl?: string; clientPath?: string; fetcherName?: string; apiName?: string; }; includeClient?: boolean | "false" | "true"; successStatusCodes?: string; errorStatusCodes?: string; }, {}>; type GenerateClientFilesOptions = typeof optionsSchema.infer & { nameTransform?: NameTransformOptions; }; declare function generateClientFiles(input: string, options: GenerateClientFilesOptions): Promise<void>; export { generateClientFiles };