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

fix: OpenAPI v3 import by supporting path-based folder structure #3832

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pooja-bruno
Copy link
Collaborator

@pooja-bruno pooja-bruno commented Jan 17, 2025

Description

This PR addresses issue #3790 regarding incomplete OpenAPI v3 import in Bruno. The changes improve the way Bruno handles OpenAPI imports by implementing a better folder structure organization and path parameter handling.

Key changes include:

  • Implemented hierarchical folder structure based on API paths
  • Improved path parameter transformation from OpenAPI format ({param}) to Bruno format (:param)
  • Enhanced URL handling and request processing

Before this change, only some folders were being imported when importing OpenAPI collections. The new implementation ensures all endpoints are properly organized and imported into Bruno.

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.

@pooja-bruno pooja-bruno marked this pull request as draft January 17, 2025 10:46
@pooja-bruno pooja-bruno marked this pull request as ready for review January 20, 2025 10:41
@pooja-bruno pooja-bruno requested a review from lohxt1 January 20, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant