@soluzioni-futura/openapi-helper

Install the package

Usage no npm install needed!

<script type="module">
  import soluzioniFuturaOpenapiHelper from 'https://cdn.skypack.dev/@soluzioni-futura/openapi-helper';
</script>

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+quot;,
  description: "Emaill"
})