UNPKG

@ordercloud/oc-codegen

Version:

OpenAPI codegen tool built for the OrderCloud API

18 lines (17 loc) 572 B
import { Operation } from '../models/operation.model'; import { OpenAPIV3 } from 'openapi-types'; import { Hooks } from '../models/hooks/hooks.model'; /** * @ignore * not part of public api, don't include in generated docs */ declare class OperationService { formatOperations(spec: OpenAPIV3.Document, hooks: Hooks): Promise<Operation[]>; private formatOperation; private getBodyParam; private getReturnType; private getMetaTypeFromList; private formatParam; } declare const _default: OperationService; export default _default;