bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Feature: match postman-cli default when openapi definition does not include a server

Open Tristano8 opened this issue 9 months ago • 1 comments

Description

Matches the existing behaviour of postman-cli's 'Import from openapi' with a couple of defaults:

  • uses {{baseUrl}} when no servers entry is found. This addresses https://github.com/usebruno/bruno/issues/1239
  • uses an empty string when info field is not present

Example result: Screenshot 2024-05-08 at 11 06 27 AM

Contribution Checklist:

  • [x] The pull request only addresses one issue or adds one feature.
  • [ ] The pull request does not introduce any breaking changes
  • [x] I have added screenshots or gifs to help explain the change if applicable.
  • [x] I have read the contribution guidelines.
  • [x] Create an issue and link to the pull request.

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.

Tristano8 avatar May 08 '24 01:05 Tristano8

Thank you @Tristano8 !

@lohxt1 Can you review this.

helloanoop avatar May 22 '24 13:05 helloanoop