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

[Bug] Missing headers from collection.bru file in "Generate code" function #943

Open
giuseppemilicia opened this issue Nov 10, 2023 · 3 comments

Comments

@giuseppemilicia
Copy link

I am experiencing a bug in the "Generate code" function. The generated code does not include the headers set at the collection level, as specified in the collection.bru file.

@jcbeck37
Copy link

jcbeck37 commented May 9, 2024

Just chiming in that this is an issue. For example, if you generate a curl request, the headers / authorization must be included. As it is, you cannot use that curl request that you've generated.

Its-treason added a commit to Its-treason/bruno that referenced this issue Jul 2, 2024
- GraphQL is now supported: usebruno#1031
- PowerShell generator works: usebruno#1566
- Collection and Folder level headers are now included: usebruno#943
- Variables are fully interpolated: usebruno#417
- Pre-Request-Script is executed for generation: usebruno#1261
@melnikaite
Copy link

@Its-treason is it already released?

@Its-treason
Copy link
Member

@Its-treason is it already released?

Hey @melnikaite, if you mean the commit, I referenced this issue: This will not be released to Bruno, it's only available to my Fork. I have rewriting how requests are executed, and this logic is used for generating code in my fork. But the Bruno maintainer is not really interested in my rewrite.

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

4 participants