elysiajs / elysia-swagger

A plugin for Elysia to auto-generate Swagger page
MIT License
74 stars 36 forks source link

fix: use `type` variable since `rest.type` is always undefined #107

Closed aleclarson closed 3 months ago

aleclarson commented 3 months ago

You can see below that type is removed from rest using the destructure syntax.

https://github.com/elysiajs/elysia-swagger/blob/12ec0e11d1a10443b1d78f26c6771022335b6825/src/utils.ts#L182-L208

marclave commented 3 months ago

will get this in soon! just confirming with @SaltyAom on the best merge strategy (squash vs rebase vs merge commit) ✨