-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Command line tool cannot accept a URL #27
Comments
Right now the CLI only accepts files, not URLs. I agree that it would be a nice feature. A PR would be appreciated. |
Any updates? |
Not yet. I'm working on something new this week. I'll try to include this feature as well. I'll keep you informed. |
@Cloudmersive @jaspreetsingh2701 I recently created a new package to generate anything using OpenAPI 3, and it supports specifying a URL: https://www.npmjs.com/package/openapi3-generator Let me know if it suits your needs. |
What if we replace our homegrown parsing with this lib? https://github.com/APIDevTools/swagger-parser. Apart from handling external urls it is well supported, handles v2/v3 formats, yml/json, dereferencing and more I'd be happy to give this a shot if that sounds ok? |
Try running this command:
snc https://api.cloudmersive.com/specs/allapis.json
Expected: Works
Observed: Fails with stack trace
The text was updated successfully, but these errors were encountered: