UNPKG

swagger-tests

Version:

A typescript framework for testing an api against a swagger 3.0 json file.

11 lines (10 loc) 413 B
import { AxiosResponse } from "axios"; import { ApiSupport } from './api.support'; export declare class ResponseSupport { protected apiSupport: ApiSupport; constructor(apiSupport: ApiSupport); success(response: AxiosResponse): Promise<any>; notFound(response: AxiosResponse): Promise<any>; bad(response: AxiosResponse): Promise<any>; unauthorized(response: AxiosResponse): Promise<any>; }