@ply-ct/ply
Version:
REST API Automated Testing
20 lines (19 loc) • 479 B
TypeScript
import { Retrieval } from '../retrieval';
export declare type ImportFormat = 'postman' | 'insomnia';
export interface ImportOptions {
testsLocation: string;
valuesLocation: string;
indent?: number;
importToSuite?: boolean;
}
export interface Importer {
import(from: Retrieval, options?: ImportOptions): Promise<void>;
}
export interface Request {
url: string;
method: string;
headers?: {
[key: string]: string;
};
body?: string;
}