Krzysztof Karol
4ee557aa24
Fix swagger-api/swagger-codegen#6345. Wrap optional JSDoc parameter (apiClient) in square brackets ( #6346 )
2017-08-24 10:39:34 +08:00
wing328
e1e5ac4d37
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-17 22:00:06 +08:00
wing328
7fc36f1e1e
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-14 22:32:12 +08:00
wing328
68864a2eea
[JavaScript] Minor fix to JS doc and add swagger-codegen version to the file header ( #5623 )
...
* fix JS doc using instance instead of default
* update JS header with codegen version
* roll back change in swagger codegen version in pom.xml
2017-05-12 16:49:20 +08:00
Paŭlo Ebermann
9be178b26a
Merge branch 'master' into new-sync-master-to-2.3.0
2017-03-13 21:42:41 +01:00
Vlad Frolov
9516c81ebb
[JavaScript] Added *WithHttpInfo methods in 'usePromises' mode to provide a way to get access to HTTP response object (e.g. headers or status code) ( #3654 ) ( #4902 )
2017-03-03 18:20:52 +08:00
Michael Kourlas
7aebcfa7c7
[JavaScript] Fix for issue #4654 : do not encode commas in CSV collection query parameters ( #4725 )
...
* Fix for issue #4654
* Update tests for fix for issue #4654
2017-02-06 23:53:13 +08:00
wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
wing328
aa46aca7cf
update JS petstore samples
2016-10-25 16:52:32 +08:00
delenius
c888434580
Improve jsdoc for API return values ( #3327 )
...
* Add jsdoc for usePromises, add @link for callbacks
* Update petstore samples
* Improve jsdoc for void return type + usePromises
* Add back curly brackets correctly in model template
* Add link to Promise doc in jsdoc comment
* Fix jsdoc annotation for callApi method
The return type annotation was also broken here.
2016-07-20 20:14:51 +08:00
wing328
aec2f4e27c
better code injection handling for js
2016-06-29 21:18:35 +08:00
wing328
8085e11063
add license header to JS cient, update sample
2016-06-15 01:18:04 +08:00
wing328
d35e30d578
better enum support for JS
2016-05-03 11:21:17 +08:00
wing328
2d5cc50bd1
Merge branch 'master' of https://github.com/demonfiddler/swagger-codegen into demonfiddler-master
...
Conflicts:
samples/client/petstore/javascript-promise/README.md
samples/client/petstore/javascript-promise/docs/PetApi.md
samples/client/petstore/javascript-promise/docs/StoreApi.md
samples/client/petstore/javascript-promise/src/api/PetApi.js
samples/client/petstore/javascript-promise/src/index.js
samples/client/petstore/javascript/README.md
samples/client/petstore/javascript/docs/PetApi.md
samples/client/petstore/javascript/docs/StoreApi.md
samples/client/petstore/javascript/src/api/PetApi.js
samples/client/petstore/javascript/src/index.js
2016-05-01 12:05:49 +08:00
wing328
83567861e0
update JS readme to use gitUserId instead
2016-04-30 20:15:45 +08:00
wing328
0e1f1606cd
update js code gen to handle different type, format
2016-04-11 22:20:30 +08:00
demonfiddler
14ceb4bf84
Fix, tests for Issue#2240 "Support invokerPackage configuration option"
2016-03-25 16:36:06 +00:00
wing328
04e56a165e
update js doc
2016-03-19 11:11:18 +08:00
demonfiddler
3082702429
[JavaScript] Recommission integration tests for Issue#2258.
2016-03-18 18:49:17 +00:00
xhh
90bd843be6
JavaScript: add auto-generated documentation in Markdown
2016-03-16 19:42:27 +08:00
wing328
637bdd2f50
add git_push and gitignore to most client generators
2016-03-12 17:35:25 +08:00
xhh
baf5d2895e
JS client: support optional parameters with object syntax
...
Closes #2027
2016-02-24 20:55:46 +08:00
xhh
d52ebdf684
JavaScript client: Add authentications support
...
Closes #1952
2016-02-06 16:26:15 +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
40d83e7f52
Some cleanup
2016-01-19 22:52:05 +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
xhh
a58f755a6a
Escape path parameters with encodeURIComponent
...
and tweak the test command
2015-12-17 21:19:28 +08:00
xhh
f07b75f419
Include Javascript client into integration test
...
and return the promise-like result of $.ajax for API
2015-12-17 20:41:09 +08:00
xhh
794783a4bb
Javascript: bug fixes, clean-ups, tests
...
- Fix the "apiClient.escapeString" issue
- Remove unused code in api.mustache
- Add test case for creating and getting Pet
2015-12-17 20:05:00 +08:00
xhh
cc408a0dd7
Add unit tests to Javascript Petstore sample
2015-12-17 00:32:50 +08:00
xhh
2c1d8b19d2
Make Javascript client a Node.js (NPM) module
2015-12-16 23:51:48 +08:00