Skip to content

Function: parseActionFile() ​

parseActionFile(content, contentType, action): ActionFileInfo

Defined in: cli/redcap-openapi/src/core/parsers/action-files.ts:17

Parse an action file content to extract validation and response info

Parameters ​

content ​

string

Raw PHP source code of the action file

contentType ​

string

Content type name

action ​

string

Action name

Returns ​

ActionFileInfo

Action file information