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

Import Bruno Collection fails - ValidationError: headers are required #2583 #2598

Merged
merged 5 commits into from
Jul 10, 2024

Conversation

sfreeman422
Copy link
Contributor

Description

Resolves Issue #2583 in which Bruno Collections are not able to be imported due to validation errors on header.
This was resolved by removing the header validation check on the folderRootSchema as it seems unlkely that folderRootSchema would require headers.

Testing locally confirms that this fixes the bug.

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • 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.

@sfreeman422
Copy link
Contributor Author

@helloanoop this seems like it may be a fix due to a regression introduced in PR #2560 - Should this be required if current version of Bruno does not seem to export/require headers on creation?

@helloanoop helloanoop merged commit e542529 into usebruno:main Jul 10, 2024
@helloanoop
Copy link
Contributor

Merged. Thanks @sfreeman422 !

This will be released today in v1.20.4

jwetzell pushed a commit to jwetzell/bruno that referenced this pull request Aug 2, 2024
…usebruno#2583  (usebruno#2598)

* Removed headers key on folderRootSchema as it seems unlikely that headers are actually required here

* Removed launch.json

* Added back package-locks

* reverted package-lock

* removed only the .required
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

Successfully merging this pull request may close these issues.

3 participants