Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiKey is still passed as query parameter, even though supportHeaderParams is set to true #46

Closed
Rinzwind opened this issue Aug 9, 2012 · 1 comment

Comments

@Rinzwind
Copy link

Rinzwind commented Aug 9, 2012

The README says:

If you enter an api key in swagger-ui, it sends a parameter named 'api_key' as a query (or as a header param if you've enabled it as described above).

But although I set "supportHeaderParams" to true, it seems "api_key" is still passed as a query parameter.

@ghost ghost assigned ayush Aug 13, 2012
@ayush ayush closed this as completed in 4570b99 Aug 28, 2012
@ayush
Copy link
Contributor

ayush commented Aug 28, 2012

@Rinzwind There was a bug in swagger.js which was causing this. It'll be great if you could pull the latest swagger-ui master and confirm. Thanks.

vincent-zurczak pushed a commit to roboconf/swagger-ui that referenced this issue Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants