Skip to content

When using postmancollections.json the query parameters are not ignored #2707

@sevenver12

Description

@sevenver12

Context

When importing a postman_collection.json and a request has a query parameter that was originally disabled (the checkbox next to the query on postman's side was unchecked) the api still makes it mandatory.

For each query parameter we have the following json object:

{
 "key": "name",
 "value": "some value",
 "disabled": true
}

and the disabled property is ignored.

Current Behavior

the disabled json property is ignored and results in a 422. this lead to some confusion on my end for a while

Expected Behavior

the disabled json property isn't ignored

Possible Workaround/Solution

remove each disabled query param when exporting
or duplicate the collection and have each disabled query param removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions