grape
grape copied to clipboard
Camel case params
Hi - Curious on recommendations for using lower camel case for request params but map them to snake case for the model? I am using Roar for representing the response so no issues here just the incoming. Could not find this documented anywhere.
desc "Create an user"
params do
requires :first_name, as: :firstName, type: String
end
Do you mean how to do it? I'll close this though. Please use the Grape mailing list for questions.