swagger-cli icon indicating copy to clipboard operation
swagger-cli copied to clipboard

How to set servers": [] and urls?

Open woeterman94 opened this issue 6 years ago • 0 comments

Is there a way to pass the server object or a base url? I need this in my swagger file for Azure gateway. Like this:

  "servers": [
    {
      "url": "__API-SCHEME__://__API-URL__"
    }
  ],

see https://swagger.io/specification/#server-object

woeterman94 avatar Jul 02 '20 12:07 woeterman94