-
Notifications
You must be signed in to change notification settings - Fork 758
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
how can I use a spec file which only available local #1471
Comments
I tired building a url with the node.js URL object.
But it didn't work. 😩 According to the code it looks like only Line 89 in 7ca4c00
|
Quoting myself from #1044 (comment):
There's a workaround, though: #1410 (comment). Essentially, if you're using a local file, it's your responsibility to provide your data to Swagger Client as a JavaScript object. |
Q&A
How can we help?
For some authentication reason , the spec file can only be downloaded from somewhere to local,
and I need to use Swagger-Client to read the spec file and send the request to a remote host.
Looks like I must use url : http.... to get the client
so the question is there a solution to read the spec from local ?
The text was updated successfully, but these errors were encountered: