@scalar/api-client
Version:
the open source API testing client
12 lines • 560 B
TypeScript
import type { RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
import type { PostData } from 'har-format';
import type { OperationToHarProps } from './operation-to-har.js';
type ProcessBodyProps = Pick<OperationToHarProps, 'contentType' | 'example'> & {
requestBody: RequestBodyObject;
};
/**
* Processes the request body and returns the processed data
*/
export declare const processBody: ({ requestBody, contentType, example }: ProcessBodyProps) => PostData;
export {};
//# sourceMappingURL=process-body.d.ts.map