JSPM

adonisjs-6-swagger

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q60409F
  • License MIT

Swagger provider for AdonisJS 6 framework

Package Exports

  • adonisjs-6-swagger
  • adonisjs-6-swagger/swagger_provider

Readme

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.