usebruno / bruno

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

bugfix(#2431) Refactor URL construction in Postman collection processing #2445

Closed sanjai0py closed 4 days ago

sanjai0py commented 3 months ago

Description

Fixes #2431

The PR improves the handling of URL construction when processing Postman collections. Previously, the code was not handling the case where the request.url field was an object without a raw field. The new code now correctly constructs the URL from the components of the request.url object when necessary.

Fixes #3113

Now the request method is converted to uppercase during import.

Contribution Checklist:

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.