@soluzioni-futura/openapi-helper
v8.3.0
Published
## Quick start
Downloads
115
Readme
@soluzioni-futura/openapi-helper
Quick start
Install the package
$ npm i @soluzioni-futura/openapi-helper
Usage
const { Router, Ref } = require("@soluzioni-futura/openapi-helper")
const id = new Ref("Id", {
type: "integer",
minimum: 1,
description: "ID"
})
const email = new Ref("Email", {
type: "string",
pattern: "^\\S+@\\S+\\.\\S+$",
description: "Emaill"
})