openapi-snippet
openapi-snippet copied to clipboard
Don't work with yaml from URL
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