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

[Question] External reference with https://xxx/common.yaml

Open henggai opened this issue 7 years ago • 0 comments

I have a schema file test.yaml with an external reference with https://xxx/common.yaml And I could use curl or web browser to directly access https://xxx/common.yaml. However, when I tried to use swagger-cli to validate the test.yaml, it shows me

Error downloading https://xxx/common.yaml unable to verify the first certificate

Is there a way for swagger-cli to specify the certificate? So it could download the external schema successfully?

henggai avatar Sep 11 '19 22:09 henggai