Skip to content

Commit

Permalink
add bearer to teammates route (#62)
Browse files Browse the repository at this point in the history
* add bearer to teammates route

* fix package

* add bearer token to security schema

* clean up open api doc

* add auth test
  • Loading branch information
owens1127 authored Aug 18, 2024
1 parent 3db348b commit c750614
Show file tree
Hide file tree
Showing 29 changed files with 1,458 additions and 426 deletions.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 6 additions & 0 deletions open-api/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ doc.components!.securitySchemes = {
name: "X-API-KEY",
in: "header"
},
"Bearer Token": {
type: "http",
name: "Authorization",
scheme: "bearer",
in: "header"
},
"Administrator Token": {
type: "http",
name: "Authorization",
Expand Down
Loading

0 comments on commit c750614

Please sign in to comment.