UNPKG

@scalar/oas-utils

Version:

Open API spec and Yaml handling utilities

9 lines 427 B
import type { OperationToHarProps } from './operation-to-har.js'; import type { PostData } from 'har-format'; type ProcessBodyProps = Pick<OperationToHarProps, 'contentType' | 'operation' | 'example'>; /** * Processes the request body and returns the processed data */ export declare const processBody: ({ operation, contentType, example }: ProcessBodyProps) => PostData; export {}; //# sourceMappingURL=process-body.d.ts.map