Support Global Parameters for Path Variables
Théo Dulieu
Current Capability:
ApiDog API Client currently supports defining global parameters for Headers, Cookies, Query, and Body, which greatly improves efficiency when working with repeated values across requests.
Suggested Enhancement:
It would be highly beneficial to extend this capability to Path Parameters as well.
Use Case Example:
In my project, all endpoints follow a common prefix pattern such as:
/api/{tenantCode}/users
Currently, to handle the
{tenantCode}
path variable, I must define an environment variable like {{TENANT}}
and reference it manually in each request URL. While this workaround is functional, having a native way to set global path parameters would provide the following benefits:* Efficiency: Avoids repetitive manual entry or env var substitution for each path.
* Time-Saving: Especially helpful in projects with many endpoints using the same path prefix.
me7o
Hi, it supports using variables directly in the path now. You can use "/app/{{tenantCode}}/users" as the path and define the value of variable {{tenantCode}} in different environments.
Théo Dulieu
me7o I see, but I use import from an OpenAPI spec directly, that define "{tenantCode}", and not "{{tenantCode}}", this solution can work but need extra work too on my side