Commit Graph

7 Commits

Author SHA1 Message Date
delenius aab96ec772 Remove unused callback param when using promises 2016-02-08 23:39:05 -08:00
xhh 47f25efb25 JavaScript client: support collectionFormat for parameters
Closes #1953
2016-02-04 16:30:41 +08:00
xhh 2eb125681e JavaScript client: handle response deserialization
to support array of models and Date property in model

Closes #1951
2016-02-04 12:36:44 +08:00
xhh c7fa44cd0c Fix ApiClient.isFileParam in browserify runtime
Closes #2028
2016-02-04 08:43:13 +08:00
xhh 794589d6b8 JavaScript: add default headers and some tests 2016-01-22 18:46:29 +08:00
xhh 9c580a2447 Set accept header for JavaScript client 2016-01-20 10:29:09 +08:00
xhh 14630c7632 Make JavaScript client work in both Node.js and browser
* Replace jQuery with SuperAgent which works in both Node.js and browser
* Use UMD pattern (returnExports.js) to make the module exporting compatible
  with all major systems: AMD, Node.js (CommonJS) and browser
* Implement support of header and form parameters. Closes #1736
* Move HTTP requesting code to `ApiClient` and allow customizing options
  in it, e.g. "basePath"
* Update unit tests accordingly and add some tests for `ApiClient`
2016-01-19 22:21:36 +08:00