staart / api

🏁🛠️ SaaS backend & API framework based on @nestjs

Home Page:https://staart.js.org/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swagger - Add bearer token to make it usable

shadowmodder opened this issue · comments

Swagger - Add bearer token to make it usable

if you could add bearer token or apikey to the swagger document builder it would be helpful:

.addBearerAuth(
  { type: 'http', scheme: 'bearer', bearerFormat: 'JWT' },'access-token',
)

Please let me know if I can open a branch and push these or any new proposed changes, I would love to help.

Absolutely, happy to accept a PR!

⚠️ This issue has not seen any activity in the past 2 months so I'm marking it as stale. I'll close it if it doesn't see any activity in the coming week.