Questions tagged [hapi-swagger]

No instructions have been provided for this tag … at the moment!

Is it possible to specify an integer property as int64 within a Joi model that is utilized by Hapi Swagger?

I'm currently working with a Joi model that looks like this: const SimpleModel = Joi.object({ id: Joi.number().integer().required().description('ID') }).label('SimpleModel'); This model is being utilized in the following route within @hapi/hapi: { ...