-
Notifications
You must be signed in to change notification settings - Fork 762
Closed
Description
Hi Swagger Team,
Greetings from the Ruby community. I was recently using Grape (API library), Rails, and Swagger and ran into an issue. It appears that Swagger-UI correctly sets an authorization header when added in the interface (api key field). However, if the endpoint has the option "authorizations" set with "oauth2", it will override the value.
I was able to create a test case in grape-swagger-rails ruby-grape/grape-swagger-rails#25 (comment).
To get a better understanding of how we tracked this down, checkout: ruby-grape/grape-swagger-rails#13. Specifically, this comment is helpful: ruby-grape/grape-swagger-rails#13 (comment).
Metadata
Metadata
Assignees
Labels
No labels