lib/grape/locale/en.yml in grape-0.13.0 vs lib/grape/locale/en.yml in grape-0.14.0

- old
+ new

@@ -33,16 +33,19 @@ mutual_exclusion: 'are mutually exclusive' at_least_one: 'are missing, at least one parameter must be provided' exactly_one: 'are missing, exactly one parameter must be provided' all_or_none: 'provide all or none of parameters' missing_group_type: 'group type is required' - unsupported_group_type: 'group type must be Array or Hash' + unsupported_group_type: 'group type must be Array, Hash, JSON or Array[JSON]' invalid_message_body: problem: "message body does not match declared format" resolution: "when specifying %{body_format} as content-type, you must pass valid %{body_format} in the request's 'body' " invalid_accept_header: problem: 'Invalid accept header' + resolution: '%{message}' + invalid_version_header: + problem: 'Invalid version header' resolution: '%{message}'