Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't work with yaml from URL #28

Open
axpira opened this issue Nov 5, 2019 · 0 comments
Open

Don't work with yaml from URL #28

axpira opened this issue Nov 5, 2019 · 0 comments

Comments

@axpira
Copy link

axpira commented Nov 5, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant