compojure-api/schema/swagger 中的非必需参数? 当我有这样的 API 定义时: (POST* "/register" []:body-params [用户名 :- 字符串,密码:- 字符串,名称:-字符串](行))) 使名称可选的适当方法是什么?是吗: (POST* "/register" []:body-params [用户名 :- 字符串,密码:- 字符串,{name :- 字符串 nil}](行))) 解决方案 你知道它使用 l .. 发布时间:2022-01-22 18:34:36 clojure swagger plumatic-schema compojure-api 其他开发