elysiajs / elysia-swagger

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

swagger ui options #18

Closed mohankumargupta closed 1 year ago

mohankumargupta commented 1 year ago

Prompted by #17

An inelegant solution, which is limited by https://github.com/oven-sh/bun/issues/3248 meaning that options that are callbacks such as requestInterceptor and onComplete are not supported by this fix.

Probably better to use the Swagger UI npm package to build the artifacts, and statically serve using elysiajs-static maybe?