Skip to content

Import OpenAPI path parameter in a format that's bulk mappable to an environment variable #851

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

Open
joostholslag opened this issue May 1, 2025 · 0 comments

Comments

@joostholslag
Copy link

joostholslag commented May 1, 2025

tldr: openapi path parameters are imported as ':var'. This prohibits mapping to an environment variable '{{var}} in bulk.
Issue described in this community post:
https://community.postman.com/t/importing-openapi3-with-path-variable/45427/3

This is mostly relevant if a path parameter is used in many paths. In my case it's like a hundred paths that use the parameter, which makes it too cumbersome to map manually. (workaround in the community post).
I think it makes sense to allow importing path parameters as variable at collection level instead of as path parameters as it is currently.
Especially if the path parameter is defined as a seperate component parameter, as it is in my spec. (spec, collection and environment available via the community post.)

This issue seems similar to: #643

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

No branches or pull requests

1 participant