Commit Graph

1307 Commits

Author SHA1 Message Date
jfastnacht
d38933f927 Added model.mustache for basic class definitions. Added sample class files. 2015-11-23 17:49:19 +01:00
jfastnacht
70efc066b5 Added notes, output formats, header params and body params 2015-11-23 16:43:13 +01:00
jfastnacht
a81d8c56e3 Adjusted index.mustache to fit Slim Framework v3
Added composer support for Slim Framework v3 RC
Updated samples
2015-11-23 15:34:36 +01:00
jfastnacht
65b9f9dcce Added basic Slim Framework support based on silex-PHP 2015-11-18 15:05:05 +01:00
Tony Tam
1e2449c568 Merge pull request #1583 from swagger-api/issue-1581
fixes #1581, rebuilt server
2015-11-17 19:53:25 -08:00
Tony Tam
c7e5c305a9 fixes #1581, rebuilt server 2015-11-17 18:46:33 -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
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
xhh
c48b93384b Merge branch 'master' into java-datetime-format 2015-11-09 15:59:32 +08:00
xhh
8cab7e785d Customizing date format in Java okhttp-gson client 2015-11-09 13:49:50 +08:00
xhh
cbc18c97ba Customizing date format in Java jersey2 client 2015-11-09 11:58:41 +08:00
xhh
a45af48e35 Fix test 2015-11-09 10:23:46 +08:00