UNPKG

@apideck/portman

Version:

Port OpenAPI Spec to Postman Collection, with contract & variation tests included

12 lines (11 loc) 363 B
import { OpenAPIV3 } from 'openapi-types'; export interface IOpenApiToPostmanConfig { inputFile?: string; openApiObj?: OpenAPIV3.Document; outputFile: string; configFile: string; } export declare class OpenApiToPostmanService { openApiObj: OpenAPIV3.Document; convert(options: IOpenApiToPostmanConfig): Promise<Record<string, unknown>>; }