UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

22 lines 815 B
/** * Copyright IBM Corp. 2024, 2025 */ import { HttpClient } from './http-client.js'; import { Request } from '../../schemas/test.schema.js'; export declare class RestHandler { private readonly httpClient; constructor(httpClient?: HttpClient); /** * Remove properties that cause circular references from response/request objects * @param obj The object to sanitize * @returns A sanitized copy of the object */ private removeCircularProperties; setValues(start: number, response: any, request: any, contextId: string, step: Request): Promise<void>; execute(step: Request, contextId: string): Promise<any>; private constructRecord; private constructData; private constructAuthHeaders; private checkIfFormData; } //# sourceMappingURL=rest-handler.d.ts.map