Commit Graph

1362 Commits

Author SHA1 Message Date
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
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
wing328
20e531d6dd update test case, add beta to go help 2016-01-22 17:27:30 +08:00
wing328
25b60a194b add sh script for go, add binary mapping for go, fix format 2016-01-22 17:21:51 +08:00
xhh
16e367bdc8 JavaScript: fix constructFromObject for Array fields
Closes #1721
2016-01-22 11:23:45 +08:00
wing328
03b463bc43 Merge pull request #1920 from Shyri/android-volley-library
Android volley library enhancement and tests
2016-01-22 10:52:26 +08:00
xhh
aad0547b40 Ruby: support binary (byte array) for body parameter and response 2016-01-21 18:01:03 +08:00
xhh
253a955cff Merge branch 'master' into java-binary-support
Conflicts:
	samples/client/petstore/java/default/src/test/java/io/swagger/petstore/test/PetApiTest.java
	samples/client/petstore/java/jersey2/src/test/java/io/swagger/petstore/test/PetApiTest.java
	samples/client/petstore/java/okhttp-gson/src/test/java/io/swagger/petstore/test/PetApiTest.java
2016-01-21 17:28:14 +08:00
Shyri Villar
7f03d5c69e Added PetApiTest [android-volley] 2016-01-20 20:49:37 +01:00
wing328
5d156916d7 Merge pull request #1930 from wing328/php_fix_deserialization
[PHP] add test cases for findPetsByTags
2016-01-21 00:23:54 +08:00
wing328
751b4cd832 remove var_dump 2016-01-20 21:46:10 +08:00
wing328
9b8b1fbb7f Merge pull request #1922 from xhh/javascript-nodejs
[JavaScript] Make JavaScript client work in both Node.js and browser
2016-01-20 21:44:44 +08:00
wing328
058b408dfb add test cases for findPetsByTags 2016-01-20 21:42:51 +08:00
xhh
8ff488cc01 Fix Ruby tests of the Petstore sample 2016-01-20 14:47:03 +08:00
xhh
5eb1cc04b9 Fix tests of UserAPI 2016-01-20 12:16:38 +08:00
wing328
cb8c3dfc2e update csharp readme 2016-01-20 12:00:57 +08:00
xhh
1ddc91b8a9 Try fixing occasional testing failuers in Java client
by using random and atomically increasing IDs
2016-01-20 11:55:04 +08:00
wing328
75a932bf45 Merge pull request #1912 from wing328/csharp_update_test2
[C#] store ApiClient default in Configuration.Default
2016-01-20 11:26:05 +08:00
xhh
3b5462c1e9 Use String for "binary" as a workaronud 2016-01-20 10:34:36 +08:00
xhh
9c580a2447 Set accept header for JavaScript client 2016-01-20 10:29:09 +08:00
wing328
b21c5f08a7 Merge pull request #1921 from wing328/php_generate_test
[PHP] generate files for unit testing models and API files
2016-01-20 10:05:20 +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
wing328
61c717b6de add comments 2016-01-19 19:50:27 +08:00
wing328
8927c1dc0f add test template for php 2016-01-19 14:49:32 +08:00
wing328
3269a84632 fix typo Configuraiton 2016-01-19 10:42:17 +08:00
wing328
dcd2c00fe6 fix empty object serialization issue 2016-01-18 21:42:24 +08:00