Commit Graph

1470 Commits

Author SHA1 Message Date
glederrey
41c735b22c ADD: Add the flash client library sample 2016-02-05 12:16:46 +01:00
wing328
81db72b62f Revert "FIX: Fixed FLash Client library" 2016-02-05 19:08:57 +08:00
Tony Tam
5e80b61e3e updated swagger-core versions 2016-02-04 18:02:19 -08:00
Gael Lederrey
5dc67c15e5 ADD: Add Petstore sample for flash 2016-02-04 14:33:46 +01:00
wing328
e926c86141 Merge pull request #2035 from wing328/csharp_fix_default_header
[C#] fix default header in async method and sanitize model name
2016-02-04 20:33:46 +08:00
wing328
8d40b7a890 sanitize model name (C#) 2016-02-04 18:52:16 +08:00
wing328
5e1cb9349a update exmaple, add toExampleValue 2016-02-04 18:18:45 +08:00
xhh
47f25efb25 JavaScript client: support collectionFormat for parameters
Closes #1953
2016-02-04 16:30:41 +08:00
wing328
35039bf122 Merge pull request #2030 from xhh/javascript-improvements
[JavaScript]  some improvements and enhancements to JavaScript client
2016-02-04 15:03:50 +08:00
wing328
8285dea113 Merge pull request #2008 from wing328/license_template
[Ruby] add API info as file header to ruby templates
2016-02-04 14:49:57 +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
wing328
cd0c8728b7 Merge pull request #2019 from ergon/feature/use-retrofit-beta3
Use retrofit2-beta3 and it's dendencies in retrofit2 clients
2016-02-03 17:49:12 +08:00
xhh
5463015725 JavaScript client: use brackets to access mobel properties
to support nonstandard characters in property names, e.g. "user-status".
2016-02-03 16:01:33 +08:00
wing328
295cf0b2a1 add partial class to C# model 2016-02-02 22:45:57 +08:00
Silvio Heuberger
671dba4284 Use retrofit2-beta3 and it's dendencies in retrofit2 clients
Requires some changes to the generated client code
as some package renaming and api changes have occurred.
2016-02-02 15:43:08 +01:00
wing328
b2d98acb21 Merge pull request #2007 from wing328/csharp_readme
[C#] Add unit tests for C# APIs and models
2016-02-02 12:43:44 +08:00
wing328
53e74a0bd3 Merge pull request #2006 from wing328/qt5_file_support
[Qt5 C++] Fix file support in form parameter
2016-02-01 15:29:49 +08:00
wing328
0e0508cf5a Merge pull request #1998 from WoodWing/master
Support file downloading in Java jersey2 client
2016-01-31 19:57:55 +08:00
wing328
5a53814346 add api info as file header to ruby templates 2016-01-31 17:08:47 +08:00
wing328
047abc63a4 add test case for c# method 2016-01-31 12:49:32 +08:00
wing328
4ce255dc38 add unit test files for C# 2016-01-31 01:52:41 +08:00
wing328
587615b656 update c# readme with command to generate DLL 2016-01-30 23:06:45 +08:00
wing328
d5aa285926 fix file support in form parameter (qt5cpp) 2016-01-30 15:31:08 +08:00
Helge Rausch
f85f885191 Don't force explicit configuration of CA cert location
In order to allow openssl to figure out the location of CA certificates
on its own, don't apply the `ssl_ca_cert` configuration parameter if it
is not explicitly set.
2016-01-29 12:18:27 +01:00
xhh
172da5b2d8 Merge branch 'master' into ruby-binary
Conflicts:
	samples/client/petstore/ruby/lib/petstore/api/pet_api.rb
2016-01-29 12:02:30 +08:00
Maarten Groot
eee441b72a Update Petstore Java jersey2 sample 2016-01-28 16:35:11 +01:00
wing328
564fa04f7c Merge pull request #1988 from wing328/maven_build_quiet3
Rebase on latest master for "Using logger instead of System.out #1871"
2016-01-28 11:52:35 +08:00
wing328
f8b82e14fe use logger.info to display command line result 2016-01-28 11:25:11 +08:00
wing328
bfd17e45fe Merge pull request #1980 from wing328/ruby_add_test
[Ruby] add auto-generated test cases (rspec)
2016-01-27 15:28:56 +08:00
xhh
29885ab2ae Lock version for superagent to 1.7.1
to avoid an unexpected behavior on request.header in 1.7.2:
Node version's request.header uses lower-case keys while browser
version's request.header keeps current case.

See also visionmedia/superagent#873
2016-01-27 12:06:22 +08:00
wing328
72d7acc06f Merge pull request #1979 from wing328/ts_property_double_quote
[TypeScript] double quote model property name
2016-01-27 10:37:20 +08:00
wing328
e4a991da0c add auto-generated test case for ruby 2016-01-26 23:15:02 +08:00
wing328
535cc1dfa7 double quote model property in ts 2016-01-26 18:08:50 +08:00
wing328
f2ab4db419 Merge pull request #1965 from wing328/ts_option_property_naming
[TypeScript] add an option to determine property naming convention
2016-01-26 16:54:20 +08:00
wing328
afd451ec04 Merge pull request #1928 from ergon/feature/retrofit2-rx
Feature/retrofit2 rx
2016-01-26 15:58:08 +08:00
wing328
17f8931887 add default help text for new ts option 2016-01-26 15:02:26 +08:00
wing328
218ea50d61 update ts samples 2016-01-26 15:00:41 +08:00
wing328
ca941b1e3c Merge pull request #1947 from xhh/javascript-default-headers
[JavaScript] Add default headers and some tests
2016-01-26 12:40:29 +08:00
Silvio Heuberger
e34706386f Change the artifact identifier for the retrofit2-rx sample 2016-01-25 10:29:13 +01:00
Silvio Heuberger
d60f7d1186 Change templates and test code so that the sample is 1.7 compatible
Alas.
2016-01-25 10:29:13 +01:00
Silvio Heuberger
042dd59a38 Add sample client usage for retrofit2 with rx adapter and java 8 2016-01-25 10:29:13 +01:00
xhh
297597a86c Merge branch 'master' into ruby-binary 2016-01-25 12:48:25 +08:00
xhh
8c19626095 Handle "binary" as String in Ruby client
as it seems weird to handle byte array (array of integer) in Ruby
2016-01-25 12:47:59 +08:00
Jim Schubert
9dc40128ac [csharp] Options: useCollection, returnICollection
This change is inline with Microsoft's recommended guidelines for
collects
(https://msdn.microsoft.com/en-us/library/dn169389(v=vs.110).aspx).

Added generator options for csharp to:

* useCollection: Deserialize responses into and return Collection<T>
* returnICollection: For List<T> or Collection<T>, return ICollection<T>
  instead of the concrete type

As a consequence of useCollection, method imputs will also change to
Collection<T>.
2016-01-24 09:13:39 -05:00
xhh
794589d6b8 JavaScript: add default headers and some tests 2016-01-22 18:46:29 +08:00
wing328
a550eec389 Merge pull request #1942 from xhh/javascript-fixes
[JavaScript] Fix initialization issues on array and nested model fields
2016-01-22 18:15:20 +08:00
wing328
5d3c8fb811 Merge pull request #1945 from wizardbyron/remove_wrong_tests
Remove useless tests
2016-01-22 18:00:02 +08:00
wing328
5b6d224612 Merge pull request #1747 from wing328/add_golang
[Go] Add Go API client generator
2016-01-22 17:42:30 +08:00
GU Yu (Byron)
cad64724a5 Remove useless tests 2016-01-22 17:39:25 +08:00