Skip to main content

generateActionOutput

@webda/content-mapper


Function: generateActionOutput()

generateActionOutput(method, options): JSONSchema7 | undefined

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

Schema for what an action resolves to.

Parameters​

method​

MethodDeclaration

the decorated method

options​

ActionSchemaOptions

project and checker

Returns​

JSONSchema7 | undefined

the return schema, or undefined when it cannot be resolved