ad-on-is / adonis-autoswagger

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

define params type #93

Closed Tommymiza closed 1 month ago

Tommymiza commented 1 month ago

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

ad-on-is commented 1 month 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