Skip to content

llucasspot/adonisjs-6-swagger

Repository files navigation

adonisjs-6-swagger


gh-workflow-image npm-image license-image

Sample Usage

This libs is based on the adonis5-swagger librairie.
Please see the sample Usage of that lib

Installation

npm i --save adonisjs-6-swagger
yarn add adonisjs-6-swagger

Compile your code:

node ace serve --watch

Configure all dependences:

node ace configure adonisjs-6-swagger
  • For other configuration, please update the config/swagger.ts.

Build swagger spec file

No need to run a command like in adonis5-swagger
Generated file will be written to by path configured in config.