ad-on-is / adonis-autoswagger

Auto-Generate swagger docs for AdonisJS
MIT License
97 stars 32 forks source link

Documentation description? #78

Closed Bruno-Alvim-Duarte closed 2 months ago

Bruno-Alvim-Duarte commented 2 months ago

How can I define my doc description? At the swagger option (config/swagger.ts) doesn't have a description key

ad-on-is commented 2 months ago

Oopsy, daisy :-D

Fixed in 3.14.0, but also 3.16.0 adds an info-object to the config so you can pass all the fields that swagger supports: https://swagger.io/docs/specification/api-general-info/