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