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

Import OpenAPI definition with multiple API keys: only one key is added to the collection #2254

Open
2 tasks done
mastazi opened this issue May 7, 2024 · 0 comments · May be fixed by #2302
Open
2 tasks done

Import OpenAPI definition with multiple API keys: only one key is added to the collection #2254

mastazi opened this issue May 7, 2024 · 0 comments · May be fixed by #2302
Labels
bug Something isn't working

Comments

@mastazi
Copy link

mastazi commented May 7, 2024

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

We have an OpenApi 3 collection with multiple API keys, as described at the following link under the paragraph "multiple API keys": https://swagger.io/docs/specification/authentication/api-keys/

When importing this, it is expected that the various endpoints will have both headers (in our case, x-api-key and x-api-secret).

Feeding the same OpenApi file to ReDoc, both authentication headers are correctly recognised:
keys

But in Bruno, I see only one header:
Screenshot 2024-05-07 at 12 21 12 PM

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Screenshot 2024-05-07 at 12 24 24 PM Screenshot 2024-05-07 at 12 21 12 PM
@mastazi mastazi added the bug Something isn't working label May 7, 2024
@mastazi mastazi changed the title Import OpenAPI definition with multiple keys Import OpenAPI definition with multiple API keys: only one key is added to the collection May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant