steady-api
Version:
Configurable REST API built with Express and TypeScript
17 lines • 388 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const Joi = require("joi");
/**
* Paramter type: url
* Used for: urls
*/
const type = {
name: "url",
description: "Valid URLs",
validator: function (param) {
return Joi.string().uri();
},
example: "http://www.example.com"
};
exports.default = type;
//# sourceMappingURL=url.js.map
;