Function: parseCurlExample() ​
parseCurlExample(
content): {data:string;key:string; } |null
Defined in: cli/redcap-openapi/src/core/parsers/curl-examples.ts:13
Parse a single curl example file
Parameters ​
content ​
string
Raw content of the curl example shell script
Returns ​
{ data: string; key: string; } | null
Parsed example with content type and action, or null if invalid