apideck-libraries / portman

Port OpenAPI Specs to Postman Collections, inject test suite and run via Newman 👨🏽‍🚀
http://getportman.com/
Apache License 2.0
638 stars 59 forks source link

overwriteRequestQueryParams - wildcard matching for query param keys #613

Closed thim81 closed 4 months ago

thim81 commented 4 months ago

Linked to #612

Added the option to use wildcard for query params to match any sequence of characters. For example, `filter[]matchesfilter[0],filter[1]`, etc.

thim81 commented 4 months ago

I would have to run some tests, but in theory, they would both get processed and overwrite the query params. The order how they are configured in the portman config, would define what the final result would be.

thim81 commented 4 months ago

Confirmed, if there are multiple overwrites, the last matching item will define the result. Extended the test, to cover the behaviour