Commit Graph

1142 Commits

Author SHA1 Message Date
wing328
8303374aa5 update perl auth to skip null apikey/username&password 2015-11-20 17:36:17 +08:00
wing328
c150247dca Merge pull request #1579 from xhh/fix-java-date-format
[Java okhttp-gson] Fix datetime format for Android
2015-11-20 15:59:07 +08:00
xhh
1358a39d0d Include the petstore clojure client into integration tests 2015-11-19 16:04:27 +08:00
wing328
ff1dd034a8 Merge pull request #1585 from xhh/clojure-client
Add a Clojure client codegen
2015-11-19 10:58:40 +08:00
xhh
50c27d258c Merge branch 'master' into clojure-client 2015-11-18 17:27:29 +08:00
xhh
473aab2d8e Support file uploading in Clojure client 2015-11-18 17:21:32 +08:00
Curt Hostetter
951e56071f Ran ./bin/java-petstore-jersey2.sh to update the Petstore sample 2015-11-17 11:18:55 -05:00
xhh
431cdc9c37 Java okhttp-gson: fix datetime format for Android
by detecting the current environment (Android SDK version and Java
version) and determine a default datetime format accordingly

Closes #1573
2015-11-17 17:54:13 +08:00
wing328
ce7a707ec1 reapply the fix after rebase 2015-11-17 10:06:38 +08:00
wing328
a4e5b5334f Merge pull request #1572 from wing328/csharp_remove_restsharp_extension
[C#] remove dependency on RestSharp extension
2015-11-17 09:53:48 +08:00
xhh
473d34ef76 Merge branch 'master' into clojure-client 2015-11-17 00:47:49 +08:00
xhh
9cf7cd9ef6 And bin/clojure-petstore.sh and build the petstore clojure client sample 2015-11-17 00:47:12 +08:00
wing328
b815163ceb replace restsharp extension functions with functions in apiclient 2015-11-16 11:30:34 +08:00
wing328
95d8585dce Merge pull request #1534 from xhh/java-datetime-format
[Java] Improvement date-time format in Java clients
2015-11-16 09:57:52 +08:00
Dave Baird
40f8012cbc Minor cleanup 2015-11-13 21:52:44 +01:00
Dave Baird
5f61d5465e Merge remote-tracking branch 'upstream/master' 2015-11-13 18:32:31 +00:00
Dave Baird
995a1f547f Removed endpoint API class documentation code
- there is no standard way for a swagger spec to define descriptive
information for an endpoint API
- added markdown as a format to the autodoc script
- added some version information to autogenerated docs
2015-11-13 19:30:47 +01:00
Dave Baird
970c94a4d9 autodoc retrieves descriptions for delegated methods 2015-11-12 16:55:20 +01:00
Cristian Oneț
f8db16c5cd Fix typo in swift error variable name. 2015-11-12 17:10:10 +02:00
wing328
30c361edd7 Merge pull request #1548 from conet/master
The swift code generator can't handle endpoints that return an array of objects
2015-11-12 23:04:58 +08:00
Dave Baird
25c19135ff autodoc can analyse arbitrary classes
- added -c option to load and analyse any class
2015-11-12 14:55:48 +01:00
Dave Baird
c097696276 Added more formats to autodoc output
- narrow
- wide
- POD
- HTML
2015-11-12 13:03:04 +01:00
wing328
08bb339398 Merge pull request #1559 from wing328/remove_setting_files
Remove eclipse file
2015-11-12 19:52:18 +08:00
xhh
93c6966501 Fix code of customizing date-time format in test 2015-11-12 17:34:12 +08:00
wing328
ee60b5f4f1 Merge pull request #1494 from cbornet/android_manifest
Add android manifest to java codegen
2015-11-12 17:17:01 +08:00
wing328
6d470d1896 remove eclipse files 2015-11-12 17:14:20 +08:00
xhh
6b3fc79dec Merge branch 'master' into java-datetime-format 2015-11-12 17:10:08 +08:00
xhh
55bcceac07 Fix tests on date format by using custom date format 2015-11-12 17:10:03 +08:00
wing328
cbc63d3285 remove line break in TS methods' comment 2015-11-12 16:13:10 +08:00
Dave Baird
389ce144ef Improved documentation methods
- API classes have rudimentary class doc info and useful method doc info
- object classes have more detailed method and class info
- added more tests for doc methods
2015-11-12 00:36:30 +01:00
Dave Baird
3ca7ce6ce6 Merge remote-tracking branch 'upstream/master' 2015-11-11 23:24:39 +00:00
wing328
edfeb48c12 Merge pull request #1550 from wing328/scala_better_test
[Scala] better scala test (UserApi)
2015-11-11 21:21:49 +08:00
aersamkull
684062ccbf Updates samples 2015-11-11 13:47:09 +01:00
Dave Baird
2144cf5d31 Handle missing security spec more elegantly
- remove the optional auth_setup_handler() callback mechanism
- add _global_auth_setup() method on ApiClient to analyse config when
security spec not provided
- add methods on the Configuration class to abstract getting and setting
tokens
2015-11-11 13:43:40 +01:00
Cristian Oneț
d125b9c490 Update swift petstore client. 2015-11-11 14:21:52 +02:00
wing328
05efd193c0 update test username for scala 2015-11-11 16:42:00 +08:00
wing328
cbd1b98bf5 better scala test (UserApi) 2015-11-11 16:35:17 +08:00
wing328
8836644d37 Merge pull request #1546 from xhh/java-enum-array
Fix error with array of enum in Java client
2015-11-10 23:39:21 +08:00
Dave Baird
06db67210c Tiny doc tweak 2015-11-10 14:50:22 +01:00
Dave Baird
92a758e1b3 Merge remote-tracking branch 'upstream/master' 2015-11-10 13:23:40 +00:00
Dave Baird
77b9f51927 More documentation, and clean up a couple of ragged edges
- added documentation for configuring authentication
- made auth_setup_handler() optional
- get_api_key_with_prefix() is more self-documenting
2015-11-10 14:22:32 +01:00
wing328
e00d102c47 Merge pull request #1545 from emilianobonassi/support_retrofit2
Add support to Retrofit2
2015-11-10 20:43:19 +08:00
Emiliano Bonassi
47f4396fb7 - fix source/target java version to 1.6
- add test profile for CI
2015-11-10 12:30:13 +01:00
Dave Baird
521b73b3ef Apply the singleton pattern to ApiClient
- make the api_client a singleton
- remove it from the configuration namespace
2015-11-10 09:47:58 +01:00
xhh
c07e30b8cf Update testCreateUser to avoid occasional failures 2015-11-10 13:22:06 +08:00
Emiliano Bonassi
3a7204d66c Add support to Retrofit2 2015-11-10 03:20:49 +01:00
Dave Baird
c06af6d141 Documentation and automatic documentation
- added POD to Role.pm
- added README.md files translated from Role.pm POD
- added an autodoc script (based on AutoDoc.pm role). The script prints
a listing of the methods built in Role.pm
- added class_documentation() and method_documentation() accessors on
all object and API classes which return the documentation supplied in
the Swagger spec for the API
2015-11-09 23:04:59 +01:00
crissdev
d9f7944102 typescript: mark optional model properties 2015-11-09 23:20:02 +02:00
Dave Baird
49034946a0 Make class and method documentation available
Documentation from the swagger spec is available via methods
class_documentation() and method_documentation() on object and API
classes.
2015-11-09 17:04:19 +01:00
xhh
e3c44b5af3 Improvement on comment 2015-11-09 16:47:33 +08:00