This libs is based on the adonis5-swagger librairie.
Please see the sample Usage of that lib
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
.
No need to run a command like in adonis5-swagger
Generated file will be written to by path configured in config.