You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1299,6 +1299,8 @@ params do
1299
1299
end
1300
1300
```
1301
1301
1302
+
Note that using `:default` with `mutually_exclusive` will cause multiple parameters to always have a default value and raise a `Grape::Exceptions::Validation` mutually exclusive exception.
1303
+
1302
1304
#### `at_least_one_of`
1303
1305
1304
1306
Parameters can be defined as 'at_least_one_of', ensuring that at least one parameter gets selected.
0 commit comments