Skip to content

ZafiroJS plugin for exposing OpenAPI v. 3.0 compliant API contracts

License

Notifications You must be signed in to change notification settings

metadevpro/zafiro-openapi3

Repository files navigation

zafiro-openapi3

npm version Build Status Dependencies img Known Vulnerabilities Greenkeeper badge

Zafiro plugin providing OpenAPI v 3.x service description.

Installation

npm install zafiro-openapi3 reflect-metadata

⚠️ The reflect-metadata polyfill should be imported only once in your entire application because the Reflect object is mean to be a global singleton. More details about this can be found here.

The basics

First you need to declare an entity:

``