generator-swaggerize icon indicating copy to clipboard operation
generator-swaggerize copied to clipboard

Always returning 401 Unauthorized with a basic authorization securityDefinitions

Open muzammilmuzzu opened this issue 5 years ago • 0 comments

I have included securityDefinitions in a swagger file with type basicAuth and specified the "x-Authorization" into it. When i hit the handler i am getting 401 Unauthorized status, even if i pass header with Authorization : Basic key, Any idea why this is happening?

muzammilmuzzu avatar Jan 13 '20 07:01 muzammilmuzzu