Skip to content

Commit

Permalink
fix security definitions key type, oauth2 is the one for jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
sickl8 committed Jul 22, 2024
1 parent 26dc9ac commit 6f19f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ var flagTplFiles = flag.String("tpl", "./../templates/", "path to html templates
// @host api.saferwall.com
// @BasePath /v1

// @securityDefinitions.apiKey Bearer
// @securityDefinitions.oauth2 Bearer
// @in header
// @name Authorization
// @description Enter the token with the `Bearer: ` prefix, e.g. "Bearer abcde12345".
// @description Enter the token with the `Bearer ` prefix, e.g. "Bearer abcde12345".

// @schemes https
func main() {
Expand Down

0 comments on commit 6f19f59

Please sign in to comment.