allow empty params

This commit is contained in:
Martin McKeaveney 2021-02-23 10:06:55 +00:00
parent 175d34841b
commit 8d500584b2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ function generateQueryValidation() {
readable: Joi.boolean(),
parameters: Joi.array().items(Joi.object({
name: Joi.string(),
default: Joi.string()
default: Joi.string().allow(""),
})),
queryVerb: Joi.string().allow().required(),
schema: Joi.object({}).required().unknown(true)