UNPKG

swagger-tests

Version:

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

12 lines (11 loc) 426 B
import { ApiSupport } from './api.support'; export declare class RequestSupport { protected apiSupport: ApiSupport; constructor(apiSupport: ApiSupport); success(response: any): Promise<any>; bad(response: any): Promise<any>; notFound(_response: any): Promise<any>; unauthorized(_response: any): Promise<any>; protected removeAuthorization(): void; protected addAuthorization(): Promise<any>; }