fetch-swagger-schema icon indicating copy to clipboard operation
fetch-swagger-schema copied to clipboard

Given a url to a swagger api-docs spec, loads it and all related resource declarations as one JSON object.

Results 3 fetch-swagger-schema issues
Sort by recently updated
recently updated
newest added

I'm getting this error: ``` $ fetch-swagger-schema http://petstore.swagger.io/v2/swagger.json petstore.json [TypeError: Cannot read property 'length' of undefined] ```

npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/Cellar/node/0.10.33_1/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.2.1 npm ERR! npm v3.3.6 npm ERR! No compatible version found: fetch-swagger-schema@=0.1.3 npm ERR! Valid install targets:...

{ "apiVersion":"0.8.0", "swaggerVersion":"1.2", "basePath":"http://localhost:8080", "apis":[{"path":"/restdocs/bindings"}] } basepath wasn't handled