You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to edit the url before sending request to the server
here in my case tenant is dynamic and client side user can change it before requesting to the server
current working show dropdown list of servers but not editable
The text was updated successfully, but these errors were encountered:
Hi @aszenz, this has been possible for years. Although it's not explicitly documented, the demo APIs provide an example of using variables in the servers definition. The trick is to not provide an enum key, which is normally used when you want to provide predefined variables for users to select from. By leaving enum out the user will be presented with a text input. The default value will be the text input placeholder.
Example snippet:
servers:
- url: https://{tenant}.example.dev
description: Testing variable with user input
variables:
tenant:
default: tenant
i want to edit the url before sending request to the server
here in my case tenant is dynamic and client side user can change it before requesting to the server
current working show dropdown list of servers but not editable
The text was updated successfully, but these errors were encountered: