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
{{ message }}
This repository was archived by the owner on Jul 14, 2020. It is now read-only.
Stoplight has not implemented this section and it's causing issues as:
1- No way to configure this using the Forms, you need to go in "Code" to deal with this.
2- In Preview/Try It, nothing works as there is no way to change the variables
3- Generated documentation is not usuable as the variables are not parsed.
Here is an example of the yaml definition:
`---
servers:
url: https://{sInfrastructureenvironmenttypeDescription}.api.appcluster01.{sInfrastructureregionCode}.ezmax.com/rest
description: The server endpoint where to send your API requests.
variables:
sInfrastructureenvironmenttypeDescription:
enum:
- prod
- stg
- qa
- dev
default: prod
description: The environment on on which to call the API. Should always be "prod"
unless instructed otherwise by support.
sInfrastructureregionCode:
enum:
- ca-central-1
- local
default: ca-central-1
description: The region where your services are hosted.
`
It would be useful if the feature could be implemented.