UNPKG

steady-api

Version:

Configurable REST API built with Express and TypeScript

17 lines (14 loc) 266 B
import * as Joi from 'joi'; /** * Paramter type: boolean * Used for: boolean */ const type = { name: "boolean", description: "A boolean (true/false) value", validator: function(param) { return Joi.boolean() }, example: true } export default type;