restish icon indicating copy to clipboard operation
restish copied to clipboard

Set value of variable in server URL

Open hadjian opened this issue 8 months ago • 0 comments

Thanks for this wonderful tool!

I am testing with an OpenAPI v3 specification and it contains a variable in the server URL. It doesn't seem that I can set it dynamically, right? So if I want to use a different value for the variable, I have to modify the OpenAPI document and re-sync?

openapi: 3.0.3
servers:
  - url: https://api.example.com/{something}
    description: Production Endpoint
    variables:
      something:
        default: some-value

hadjian avatar Jun 10 '24 20:06 hadjian