this post was submitted on 29 Sep 2023
30 points (100.0% liked)
Programming
13368 readers
2 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, I’m annoyed by this as I’m looking to script a rudimentary Bruno->postman tool, so I won’t be blocked at work on Monday. means I need to dig into their tooling.
they have an internal bru2json method that is used when exporting a collection into a single file, so I wonder what the benefit is keeping it in the proprietary format at all. maybe it makes it a bit easier to edit by hand, which is a supported use case, but there’s JSON tooling to enable good autocompletes/schemas iirc
EDIT: I has made script (very wip) https://github.com/wtpisaac/bruno2postman
Oh, share your script if you will, please!
here you go: https://github.com/wtpisaac/bruno2postman
If I get it minimally working (aka basic HTTP request and headers able to export), I will upload it to GitHub and reply to you with a link.
yeah my guess was easier editing and ux when collaborating via github, diffs on json don't look great
but yaml (for all it's faults) would still be better haha or now that i think about it:
both look similar to bru, would share the advantages over json and seem better spec'd/supported