Skip to content

Commit

Permalink
Merge pull request #19 from grkek/patch-1
Browse files Browse the repository at this point in the history
Update security_scheme.cr
  • Loading branch information
icyleaf authored Oct 13, 2020
2 parents 81bfcd5 + 5819a1e commit 595b994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swagger/objects/security_scheme.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Swagger::Objects
end

def self.bearer(description : String? = nil, format : String? = nil)
new("http", description, parameter_location: "header", scheme: "basic", bearer_format: format)
new("http", description, parameter_location: "header", scheme: "bearer", bearer_format: format)
end

def self.api_key(name : String, location : String, description : String? = nil)
Expand Down

0 comments on commit 595b994

Please sign in to comment.