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.

5 lines (4 loc) 226 B
import { Doc, DocType, Spec, DocFormat } from './Spec'; export interface Importer<TDocType extends DocType, TDoc = Doc<TDocType>> { import(content: string, format?: DocFormat): Promise<Spec<TDocType, TDoc> | undefined>; }