The scheme was set to basic which resulted into a basic authorization popup showing instead of a header input value, I updated the scheme and it worked by monkey patching the library.
module Swagger::Objects
# SecurityScheme Object
#
# See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#componentsSecuritySchemes
struct SecurityScheme
def self.bearer(description : String? = nil, format : String? = nil)
new("http", description, parameter_location: "header", scheme: "bearer", bearer_format: format)
end
end
end
The scheme was set to
basic
which resulted into abasic authorization
popup showing instead of a header input value, I updated the scheme and it worked by monkey patching the library.