swagger-tests
Version:
A typescript framework for testing an api against a swagger 3.0 json file.
12 lines (11 loc) • 461 B
TypeScript
import { AxiosResponse } from "axios";
import { ApiSupport } from './api.support';
export declare class AfterSupport {
protected apiSupport: ApiSupport;
constructor(apiSupport: ApiSupport);
success(response: AxiosResponse): Promise<any>;
bad(_response: AxiosResponse): Promise<any>;
notFound(_response: AxiosResponse): Promise<any>;
unauthorized(_response: AxiosResponse): Promise<any>;
protected addAuthorization(): Promise<any>;
}