当我有这样的 API 定义时:
(POST* "/register" []
:body-params [username :- String,
password :- String,
name :- String]
(ok)))
使名称可选的适当方法是什么?是吗:
(POST* "/register" []
:body-params [username :- String,
password :- String,
{name :- String nil}]
(ok)))