usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.71k stars 1.28k forks source link

fix: Inherited apikey auth mapping for bruno-cli #3512

Open rbonestell opened 5 days ago

rbonestell commented 5 days ago

Description

This fix adds support to the bruno-cli package for mapping inherited apikey auth from a collection into a request.

I believe this should be refactored later for parity with the electron app, perhaps by moving the prepareRequest functionality and it's dependencies from bruno-electron into the bruno-common library and utilizing that in the bruno-cli project.

Fixes issue #3511.

Contribution Checklist: