UNPKG

openapi-typescript

Version:

Generate TypeScript types from Swagger OpenAPI specs

8 lines (7 loc) 371 B
import { GlobalContext, OperationObject, ParameterObject, PathItemObject } from "../types"; interface TransformOperationOptions extends GlobalContext { globalParameters?: Record<string, ParameterObject>; pathItem?: PathItemObject; } export declare function transformOperationObj(operation: OperationObject, options: TransformOperationOptions): string; export {};