ad-on-is / adonis-autoswagger

Auto-Generate swagger docs for AdonisJS
MIT License
129 stars 41 forks source link

define params type #93

Closed Tommymiza closed 5 months ago

Tommymiza commented 5 months ago

Can someone tell me how to define type for params ? (id to integer) @paramPath id

ad-on-is commented 5 months ago

Fixed in 3.43.0 ... the paramPath and paramQuery are no longer marked as required by default... instead use the meta @required... see docs..

@paramPath id - The ID of the source - @type(number) @required