Closed
Description
Q&A
- OS: [macOS]
- Environment: [Node.js v10.0.0]
- Method of installation: [npm]
- Swagger-Client version: [3.9.4]
- Swagger/OpenAPI version: [OpenAPI 3.0]
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
Swagger({ url: "http://petstore.swagger.io/v2/swagger.json" }).then((client) => { ...
so the question is there a solution to read the spec from local ?
Metadata
Metadata
Assignees
Labels
No labels