Category "hapijs"

How to register pg-promise with hapi

I try to register pg-promise as hapi plugin. However, the following error occurred. TypeError: Cannot read properties of undefined (reading 'name') at interna

Is there a way to define an integer property as int64 in a Joi model that is used by Hapi Swagger

I am having the following Joi model const SimpleModel = Joi.object({ id: Joi.number().integer().required().description('ID') }).label('SimpleModel'); The m