The @egose/swagger
package provides support for the OpenAPI Specification (formerly known as Swagger Specification), which is a format used for describing REST APIs. It can be used to describe all the API endpoints that are generated by the @egose/acl
model routers.
please see Egose documentation for more details.
npm install express mongoose @egose/swagger
npm install @types/express --save-dev
yarn add express mongoose @egose/swagger
yarn add @types/express --dev