diff --git a/lib/grape/validations.rb b/lib/grape/validations.rb index 5cf7d83c89..9ae22ae6a1 100644 --- a/lib/grape/validations.rb +++ b/lib/grape/validations.rb @@ -3,6 +3,7 @@ module Grape module Validations module_function + def validators @validators ||= {} end