-
Notifications
You must be signed in to change notification settings - Fork 761
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
Could we get swagger-js client to deno? #2355
Comments
@xli can you provide more information or investigate why swagger-js cannot be used with deno? I'm willing to collaborate with you on this, but need more info. |
There are some dependencies are not on deno if you tried to import from npm.
I think a better support is deploy swagger-js to deno (it supports deploy from github repo), and probably need figure out solution for dependencies that are not on deno. |
Right, so this looks like a problem with dependencies of swagger-client which we have no control over. As far as I understand deno allows importing JavaScript from URLs. Part of our npm distribution is a UMD bundle that is completely standalone. import SwaggerClient from 'https://unpkg.com/browse/[email protected]/dist/swagger-client.browser.js'; As long as deno supports CommonJS it should be able to process this import. The only thing that might prevent this is that we build this bundle against Cheers |
Can't import swagger client in deno (https://deno.com) from current npm publish.
Any chance to get swagger-js deploy to deno?
The text was updated successfully, but these errors were encountered: