Skip to main content

generateActionInput

@webda/content-mapper


Function: generateActionInput()

generateActionInput(method, options): JSONSchema7

Defined in: packages/content-mapper/src/schema/action.ts:44

Schema for an action's arguments.

Every parameter is included — there is no filter for context / ctx, so an OperationContext argument is expanded in full. That is odd for something called an operation input, and it is what the committed artefact contains, so it is reproduced rather than improved here.

Parameters​

method​

MethodDeclaration

the decorated method

options​

ActionSchemaOptions

project and checker

Returns​

JSONSchema7

the arguments schema