When importing an OpenAPI specification into Apidog, it’s common to encounter recurring path parameters such as tenant, clientId, or similar identifiers. Currently, these need to be manually updated to use environment variables across all endpoints.
Proposed Feature:
It would be incredibly helpful to have an option in Apidog that allows users to automatically assign predefined values (such as environment variables) to certain recurring path parameters. For example, when a path parameter named tenant is detected, it could be automatically set to {{TENANT}}.
Benefits:
Saves time by reducing repetitive manual updates
Ensures consistency across all endpoints
Reduces the risk of errors from hardcoded or outdated values
Example:
If the OpenAPI path is:
/api/{tenant}/users
Apidog could automatically set value of {tenant} to be {{TENANT}} env var, based on a user-defined rule or configuration.