12694 Commits

Author SHA1 Message Date
xhh
794589d6b8 JavaScript: add default headers and some tests 2016-01-22 18:46:29 +08:00
Maelig Nantel
4c7d471203 Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
# Conflicts:

#	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavascriptClientCodegen.java
2016-01-22 11:32:08 +01: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
5b6d224612 Merge pull request #1747 from wing328/add_golang
[Go] Add Go API client generator
2016-01-22 17:42:30 +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
a607856406 JavaScript: fix model name in initialization and import
Closes #1935
2016-01-22 11:48:59 +08:00
John Hancock
277e7cfa8d Remove defaultValue from project guid cliOption because the guid is a random value 2016-01-21 22:47:53 -05: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
John Hancock
60c79d1cae Fix assembly references in project file generation 2016-01-21 21:16:09 -05:00
Maelig Nantel
94315a249d Merge branch 'java-support-uuid-generation' into fix-java-warnings 2016-01-21 11:21:22 +01:00
Maelig Nantel
687c2b1431 Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
# Conflicts:

#	modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultCodegen.java
2016-01-21 11:17:32 +01:00
wing328
7f2b3a5587 update csharp readme 2016-01-21 11:13:14 +01:00
xhh
81ed441dfa Use String for "binary" as a workaronud 2016-01-21 11:13:12 +01:00
xhh
ecbc4a147c Set accept header for JavaScript client 2016-01-21 11:13:12 +01:00
wing328
7c619b244f fix byte[] in spring mvc and java inflector 2016-01-21 11:13:10 +01:00
xhh
c1d5179d72 Some cleanup 2016-01-21 11:13:09 +01:00
xhh
6efbde5691 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-21 11:13:09 +01:00
wing328
a2cb3f7c3c add comments 2016-01-21 11:13:08 +01:00
wing328
51f2f8c6ad add test template for php 2016-01-21 11:13:07 +01:00
wing328
6d010f9af7 fix typo 2016-01-21 11:13:06 +01:00
wing328
fb1cc254e4 add api test and model test files 2016-01-21 11:13:05 +01:00
wing328
ccd0db4434 fix empty object serialization issue 2016-01-21 11:13:05 +01:00
wing328
58d920eaf0 update tostring to use sanitizeforserialization 2016-01-21 11:13:04 +01:00
wing328
7a5d9412c5 update csharp configuration to avoid circular dependency, deprecate
ApiClient.Default
2016-01-21 11:13:03 +01: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
877661a1f4 Add OAuth stub [androiod-volley] 2016-01-20 20:59:55 +01:00
Shyri Villar
407837ebe2 Added configurable timeout 2016-01-20 20:11:36 +01:00
Shyri Villar
92e7d0e69c fix ApiKeyAuth applyToHeader when no api-key is provided 2016-01-20 19:59:28 +01: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
xhh
34a941f352 Improve imports in api/models of Java clients
Closes #1810
2016-01-20 16:49:25 +08:00
wing328
cb8c3dfc2e update csharp readme 2016-01-20 12:00:57 +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
John Hancock
629567c5ac Fix project file option handling 2016-01-19 21:00:55 -05:00
John Hancock
b4bce238c2 CSharp: Optionally build csproj file 2016-01-19 21:00:54 -05:00
wing328
38bac9dfb4 fix byte[] in spring mvc and java inflector 2016-01-19 23:35:23 +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
731fd4be33 fix typo 2016-01-19 10:40:43 +08:00
Shyri Villar
060f0f33c2 add test dependencies [android-volley-library] 2016-01-18 22:11:11 +01:00
Shyri Villar
97e1d1e273 fix networ error excetption for synchronous requests [android-volley-library] 2016-01-18 22:06:02 +01:00
Shyri Villar
51468503b2 fix post, put, delete and patch when body is null [android-volley-library] 2016-01-18 22:05:36 +01:00
wing328
86587607e1 add api test and model test files 2016-01-19 00:51:21 +08:00