Function: Action()
Action(
options
): (target
,propertyKey
) =>void
Define an object method as an action
Parameters
• options: Object
= {}
• options.methods?: HttpMethodType
[]
• options.name?: string
• options.openapi?: any
Returns
Function
Parameters
• target:
any
• propertyKey:
string
Returns
void