loopback-connector-swagger
loopback-connector-swagger copied to clipboard
Test failures on master
6 tests are failing on current master
37 passing (2s) 1 pending 6 failing
- swagger connector models models without remotingEnabled supports model methods: Error: done() invoked with non-Error: {"url":"http://petstore.swagger.io/v2/pet/1","method":"GET","headers":{"date":"Tue, 22 Aug 2017 23:01:49 GMT","access-control-allow-origin":"","access-control-allow-methods":"GET, POST, DELETE, PUT","access-control-allow-headers":"Content-Type, api_key, Authorization","content-type":"application/json","connection":"close","server":"Jetty(9.2.9.v20150224)"},"errObj":{"original":null,"response":{"req":{"method":"GET","url":"http://petstore.swagger.io/v2/pet/1","headers":{"user-agent":"loopback-connector-swagger/3.2.0","accept":"application/json"}},"header":{"date":"Tue, 22 Aug 2017 23:01:49 GMT","access-control-allow-origin":"","access-control-allow-methods":"GET, POST, DELETE, PUT","access-control-allow-headers":"Content-Type, api_key, Authorization","content-type":"application/json","connection":"close","server":"Jetty(9.2.9.v20150224)"},"status":404,"text":"{"code":1,"type":"error","message":"Pet not found"}"},"status":404},"status":404,"statusText":"{"code":1,"type":"error","message":"Pet not found"}","obj":{"code":1,"type":"error","message":"Pet not found"},"data":"{"code":1,"type":"error","message":"Pet not found"}"} at test/test-connector.js:99:27 at failure (lib/swagger-connector.js:290:9)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.