UNPKG

fluentrest-ts

Version:

A lightweight, fluent TypeScript API testing library inspired by Java's RestAssured. Built on top of Axios, JSONPath, and Joi for powerful request handling and response validation.

16 lines (15 loc) 355 B
/** * Interface for viewing the request details in debug mode * Available when creating a request */ export interface RequestSnapshot { method?: string; url?: string; headers?: Record<string, any>; params?: Record<string, any>; data?: any; timeout?: number; baseURL?: string; status?: number; statusText?: string; }