UNPKG

@har-sdk/core

Version:

The base package can be used to import specification files (i.e. HAR, OAS and Postman Collection) and detect their type.

15 lines (14 loc) 527 B
import { BaseImporter } from './BaseImporter'; import { ImporterType } from './ImporterType'; import { Postman } from '../types'; import { DocFormat } from './Spec'; export declare class PostmanImporter extends BaseImporter<ImporterType.POSTMAN> { private readonly POSTMAN_SCHEMAS; constructor(); get type(): ImporterType.POSTMAN; isSupported(spec: any): spec is Postman.Document; protected fileName({ doc, format }: { doc: Postman.Document; format: DocFormat; }): string | undefined; }