Skip to content

[V] $action

const $action: ActionDecorator;

Marks an operation as an action and sets its automatic route fragment. Uses the supplied name or the operation name, lowercasing the first character. An explicitly empty name reports a diagnostic. Automatic routes default to POST unless an explicit verb or resource lifecycle role supplies one.