koa-joi-swagger icon indicating copy to clipboard operation
koa-joi-swagger copied to clipboard

body如何传数组

Open huowenxuan opened this issue 6 years ago • 0 comments

按照如下的方式,body会被忽略掉

body: Joi.array().items(Joi.object().keys({
    id: Joi.string().required(),
}))

huowenxuan avatar Sep 10 '18 09:09 huowenxuan