|
11 | 11 | except_values: 'has a value not allowed'
|
12 | 12 | same_as: 'is not the same as %{parameter}'
|
13 | 13 | missing_vendor_option:
|
14 |
| - problem: 'missing :vendor option.' |
15 |
| - summary: 'when version using header, you must specify :vendor option. ' |
| 14 | + problem: 'missing :vendor option' |
| 15 | + summary: 'when version using header, you must specify :vendor option' |
16 | 16 | resolution: "eg: version 'v1', using: :header, vendor: 'twitter'"
|
17 | 17 | missing_mime_type:
|
18 | 18 | problem: 'missing mime type for %{new_format}'
|
|
21 | 21 | or add your own with content_type :%{new_format}, 'application/%{new_format}'
|
22 | 22 | "
|
23 | 23 | invalid_with_option_for_represent:
|
24 |
| - problem: 'You must specify an entity class in the :with option.' |
| 24 | + problem: 'you must specify an entity class in the :with option' |
25 | 25 | resolution: 'eg: represent User, :with => Entity::User'
|
26 |
| - missing_option: 'You must specify :%{option} options.' |
| 26 | + missing_option: 'you must specify :%{option} options' |
27 | 27 | invalid_formatter: 'cannot convert %{klass} to %{to_format}'
|
28 | 28 | invalid_versioner_option:
|
29 |
| - problem: 'Unknown :using for versioner: %{strategy}' |
| 29 | + problem: 'unknown :using for versioner: %{strategy}' |
30 | 30 | resolution: 'available strategy for :using is :path, :header, :accept_version_header, :param'
|
31 | 31 | unknown_validator: 'unknown validator: %{validator_type}'
|
32 | 32 | unknown_options: 'unknown options: %{options}'
|
|
44 | 44 | "when specifying %{body_format} as content-type, you must pass valid
|
45 | 45 | %{body_format} in the request's 'body'
|
46 | 46 | "
|
47 |
| - empty_message_body: 'Empty message body supplied with %{body_format} content-type' |
48 |
| - too_many_multipart_files: "The number of uploaded files exceeded the system's configured limit (%{limit})" |
| 47 | + empty_message_body: 'empty message body supplied with %{body_format} content-type' |
| 48 | + too_many_multipart_files: "the number of uploaded files exceeded the system's configured limit (%{limit})" |
49 | 49 | invalid_accept_header:
|
50 |
| - problem: 'Invalid accept header' |
| 50 | + problem: 'invalid accept header' |
51 | 51 | resolution: '%{message}'
|
52 | 52 | invalid_version_header:
|
53 |
| - problem: 'Invalid version header' |
| 53 | + problem: 'invalid version header' |
54 | 54 | resolution: '%{message}'
|
55 | 55 | invalid_response: 'Invalid response'
|
0 commit comments