@scalar/api-client
Version:
the open source API testing client
10 lines • 446 B
TypeScript
import type { RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/request-body';
/**
* Create the fetch request body
*/
export declare const buildRequestBody: (requestBody: RequestBodyObject | undefined,
/** Environment variables flattened into a key-value object */
env?: Record<string, string>,
/** The key of the current example */
exampleKey?: string) => BodyInit | null;
//# sourceMappingURL=build-request-body.d.ts.map