@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.
10 lines (9 loc) • 380 B
TypeScript
import { ImporterType } from './ImporterType';
import { OpenAPIV2 } from '../types';
import { BaseOASImporter } from './BaseOASImporter';
export declare class OASV2Importer extends BaseOASImporter<ImporterType.OASV2> {
private readonly SUPPORTED_SWAGGER_VERSION;
constructor();
get type(): ImporterType.OASV2;
isSupported(spec: any): spec is OpenAPIV2.Document;
}