openapi-snippet icon indicating copy to clipboard operation
openapi-snippet copied to clipboard

Don't work with yaml from URL

Open axpira opened this issue 6 years ago • 0 comments

I tried this:

const targets = [ 'node_unirest', 'c', 'java', 'shell_curl', 'shell_httpie', 'go' ]
const results = SwaggerSnippet.getSwaggerSnippets('http://localhost:3000/static/openapi.yaml', targets) 

And returned a empty array.

How can I use read a specification from URL?

Thanks

axpira avatar Nov 05 '19 19:11 axpira