When I have a definition of an API like this:
(POST* "/register" []
:body-params [username :- String,
password :- String,
name :- String]
(ok)))
what's the appropriate way of making name optional? Is it:
(POST* "/register" []
:body-params [username :- String,
password :- String,
{name :- String nil}]
(ok)))