Commit Graph

4 Commits

Author SHA1 Message Date
wing328 8085e11063 add license header to JS cient, update sample 2016-06-15 01:18:04 +08:00
xhh 5acef6d634 Update petstore sample for JS-promise client 2016-05-06 18:02:32 +08:00
delenius 692c865c76 Handle empty response.body from superagent
Superagent does not always produce a `body`. See
http://visionmedia.github.io/superagent/ for details. When it
doesn't, we should deserialize the raw `response.text` rather
than returning `null`. Currently, the JS client always returns
`null` when the return type is String! This commit fixes
that.
2016-02-17 22:39:53 -08:00
delenius 7301618671 Add petstore tests for usePromises version 2016-02-08 20:02:38 -08:00