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 #5207 - Query parameters ignored when importing Postman collection #5271

Merged
merged 4 commits into from
Oct 13, 2022

Conversation

filfreire
Copy link
Member

@filfreire filfreire commented Oct 13, 2022

changelog(Fixes): Fixed an issue that prevented query parameters from being properly imported from Postman V2.1 collections

Fixes #5207

Example collection
{
    "info": {
        "_postman_id": "5F653FA6-D8E8-4A92-B243-4F5D7F8D7A4B",
        "name": "Query Parameters",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "_exporter_id": "18121341"
    },
    "item": [
        {
            "name": "mockbin",
            "request": {
                "method": "GET",
                "header": [],
                "url": {
                    "raw": "mockbin.org/request/any?foo=bar",
                    "host": [
                        "mockbin",
                        "org"
                    ],
                    "path": [
                        "request",
                        "any"
                    ],
                    "query": [
                        {
                            "key": "foo",
                            "value": "bar"
                        }
                    ]
                }
            },
            "response": []
        }
    ]
}

Before:
image

After:
image

@filfreire filfreire marked this pull request as ready for review October 13, 2022 12:21
@filfreire filfreire requested a review from a team October 13, 2022 12:21
Copy link
Contributor

@gatzjames gatzjames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@filfreire filfreire force-pushed the fix/issue-5207-postman-queryParams branch from cb06eca to 7a8475c Compare October 13, 2022 14:17
@filfreire filfreire enabled auto-merge (squash) October 13, 2022 14:17
@filfreire filfreire force-pushed the fix/issue-5207-postman-queryParams branch from a1a14ab to d9815df Compare October 13, 2022 14:56
@filfreire filfreire enabled auto-merge (squash) October 13, 2022 14:56
@filfreire filfreire merged commit a573167 into Kong:develop Oct 13, 2022
@filfreire filfreire deleted the fix/issue-5207-postman-queryParams branch October 14, 2022 08:07
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.

Query parameters ignored when importing a Postman Collection v2
2 participants