maxdome / swagger-combine

Combines multiple Swagger schemas into one dereferenced schema.
MIT License
132 stars 36 forks source link

Document the file URLs options in the configuration #36

Open odupuy opened 6 years ago

odupuy commented 6 years ago

The help shows URLs like

"apis": [
    {
      "url": "http://petstore.swagger.io/v2/swagger.json"
    },

On Windows, you can use a relative URL e.g. "url": "file://tmp/src/swagger-myapp.yaml" or an absolute one e.g. "url": "file:///c/Users/olivier/go/src/github.com/myrepo/myproject/tmp/src/swagger-myapp.yaml" On Linux, you can use only an absolute one! Thanks