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.

12 lines (11 loc) 462 B
import { BaseImporter } from './BaseImporter'; import { OpenAPI } from '../types'; import { DocFormat } from './Spec'; import { ImporterType } from './ImporterType'; export declare abstract class BaseOASImporter<TDocType extends ImporterType.OASV2 | ImporterType.OASV3> extends BaseImporter<TDocType> { protected constructor(); protected fileName({ doc, format }: { doc: OpenAPI.Document; format: DocFormat; }): string | undefined; }