elysiajs / elysia-swagger

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

Swagger-specific options #17

Open iamcsharper opened 1 year ago

iamcsharper commented 1 year ago

I would like to have persistAuthorization set to true, near the "window.ui = SwaggerUIBundle({" code in src/index.ts

I guess it would be just great to have an argument called "swaggerParameters", a Record<string, string>, that would be put after "dom_id: '#swagger-ui',"