Usecase: Hapi.js + hapi-swaggered + hapi-swaggered-ui.
Swaggered UI submits an array. It passes comma separated String instead of Array. How to I make it pass correct parameters, should I change validation type on Joi? I am using:
query: Joi.object({ categories : Joi.array().items(Joi.string()).label('Categories') })
Query it does: ?categories=firstCategory%2CsecondCategory
Query it should do: ?categories=firstCategory&categories=secondCategory