SR030
Severity: error
Summary: controller.before has an empty hook name
What this means
An endpoint’s controller.before list contains an empty string as a hook name. Every entry in the before list must be a non-empty function name that exists in the resource’s controller file.
Example that triggers this
endpoints:
create:
input: [name]
controller: { before: "" }
How to fix it
Provide a non-empty function name for controller.before:
controller: { before: validate_input }