Commit Graph

897 Commits

Author SHA1 Message Date
cbornet 265de9654b add authorizations to retrofit client
added basic auth, api key and oauth support to the service generator using okhttp interceptors

Fix #962
2015-08-29 18:14:33 +02:00
wing328 9e5de7da5e Merge pull request #1132 from geekerzp/python-configuration
[Python] Add option `verify_ssl` to switch SSL/TLS verification
2015-08-27 17:01:29 +08:00
wing328 8de9e23814 Merge pull request #1131 from wing328/csharp_fix_compilebat
[C#] fix invokerPackage with packageName in compile.mustache
2015-08-26 17:30:07 +08:00
wing328 587028efd1 Merge pull request #1129 from geekerzp/objc-test
[Objc] Add test cases for sanitizeForSerialization method in objc client
2015-08-26 17:02:55 +08:00
wing328 af8d61cc02 Merge pull request #1130 from geekerzp/python-test
[Python] Add test cases for sanitize_for_serialization method in python client
2015-08-26 16:46:42 +08:00
wing328 1996aa9244 Merge pull request #1126 from xhh/java-enum-refactor
[Java] Support special characters in enum values
2015-08-26 16:41:56 +08:00
geekerzp b3d28f07f1 Add option verify_ssl to switch SSL/TLS verification. 2015-08-25 17:58:14 +08:00
wing328 570a595ffb fix invokerPackage with packageName in compile.mustache 2015-08-25 15:35:22 +08:00
geekerzp 568b7a4fcd Add test cases for sanitize_for_serialization method in python client. 2015-08-25 15:04:46 +08:00
geekerzp 1b2f491b0e Add tese case for sanitizing array of models in objc client. 2015-08-25 11:16:19 +08:00
geekerzp eb21963fa5 Update test case testSanitizeForSerialization in objc client. 2015-08-25 10:51:03 +08:00
geekerzp ab5483cd04 Add test cases for sanitizeForSerialization method in objc client. 2015-08-25 09:54:30 +08:00
wing328 a7c08e680c update python samples 2015-08-24 21:08:21 +08:00
xhh 8408a97aef Java: Support special characters in enum values
and use upper case for enum names

Conflicts:
	samples/client/petstore/java/default/src/main/java/io/swagger/client/JSON.java
	samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Order.java
	samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Pet.java
2015-08-24 18:21:16 +08:00
Tony Tam 0d5c066605 fixed scalatest version 2015-08-24 01:04:28 -07:00
wing328 164ed99812 fix serializableModel (boolean) 2015-08-24 11:50:21 +08:00
Tony Tam ec9cdca7cb Merge pull request #1109 from swagger-api/rebase-issue-838
update files as rebase from #838
2015-08-23 17:38:34 -07:00
Tony Tam 66e6d4fb8a rebuilt client 2015-08-23 11:10:04 -07:00
Tony Tam f7dc066dec merged 2015-08-23 11:09:47 -07:00
Tony Tam 3160913433 update files as rebase from #838 2015-08-23 11:05:19 -07:00
wing328 f662699fd0 Merge pull request #1107 from wing328/php_fix_datetime
[PHP] Fixed deserialization for datetime object
2015-08-23 17:11:55 +08:00
wing328 1c1571cc3a Merge pull request #1106 from geekerzp/python-query
[Python] Fix issue that missing query parameters in python client.
2015-08-23 17:11:19 +08:00
wing328 f2df26f6e6 fix deserializing datetime, add test case 2015-08-22 23:09:12 +08:00
xhh 595c01c537 Merge branch 'develop_2.0' into library-template-jersey2
Conflicts:
	modules/swagger-codegen/src/main/resources/Java/JsonUtil.mustache
2015-08-22 21:53:04 +08:00
geekerzp dc423cc11d Fix issue that Mssing query parameters in python client. 2015-08-22 17:46:13 +08:00
wing328 4023460f2e Merge pull request #1096 from geekerzp/objc-param-to-str
[Objc] Sanitize request parameters in objc client
2015-08-21 22:22:17 +08:00
geekerzp 6218ad139f Fix issue that it will throw error if not pass optional form param in objc client. 2015-08-21 11:20:29 +08:00
geekerzp b7cd38d38b Update objc client.
Sanitize request parameters (path, query, header, form, body).
2015-08-21 09:42:31 +08:00
xhh af2ec4cf85 Merge branch 'develop_2.0' into library-template-jersey2
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
	modules/swagger-codegen/src/main/resources/Java/api.mustache
2015-08-20 17:36:42 +08:00
geekerzp 894d571ea5 Change reserved word handling in python client.
* First, remove the beginning underscores.
* Then, append underscore if the var is reserved word or number.
2015-08-19 18:05:47 +08:00
wing328 c62fca8c54 Merge pull request #1079 from wing328/add_flash_generator
[Flash] Add back Flash generator
2015-08-18 20:04:53 +08:00
wing328 5d52952ebd Merge pull request #1077 from geekerzp/objc-apiclient
[Objc] Change the ApiClient  initialization of objc client
2015-08-18 09:39:48 +08:00
wing328 4163f07911 Merge pull request #1069 from geekerzp/python-httplib
[Python] Fix issues in python client
2015-08-16 15:03:16 +08:00
wing328 7a2c0a076a update readme, change default value, update pom 2015-08-16 00:03:19 +08:00
wing328 365f4bc0c0 beta release of flash generator 2015-08-15 23:56:01 +08:00
wing328 3478e053e1 add back flash generator 2015-08-15 18:12:14 +08:00
geekerzp 75536868f2 Add default api client in configuration class in objc client 2015-08-14 17:54:41 +08:00
geekerzp a6c07a8364 Change api client pool pattern to singleton pattern in objc client 2015-08-14 09:47:02 +08:00
wing328 b971aa7433 add example to config option, replace localhost with basePath 2015-08-13 23:27:59 +08:00
geekerzp 1c0eb60c71 Fix issues in python client 2015-08-12 11:19:29 +08:00
geekerzp 2aaad03ab6 Fix the issue of bool deserialization in objc client 2015-08-08 15:13:13 +08:00
xhh cb181e3480 Merge branch 'develop_2.0' into library-template-jersey2 2015-08-08 11:18:17 +08:00
wing328 f27eb7e0de Merge pull request #1058 from xhh/str-response-offset
Fix bug with truncated lone string responses for Android/Scala clients
2015-08-08 11:10:02 +08:00
geekerzp 732a9eb64d Fix issue in Configuration-body.mustache in objc client 2015-08-07 18:31:07 +08:00
xhh c7f595fc91 Fix bug with truncated lone string responses for Android/Scala clients 2015-08-07 10:40:42 +08:00
xhh 4321339d4f Java petstore sample: move to "default" sub-folder, add jersey2 2015-08-05 17:28:45 +08:00
xhh d88ec847ae Remave unused imports 2015-08-05 09:43:15 +08:00
xhh 7c16dfcf13 Rebuild Java petstore sample 2015-08-04 18:36:03 +08:00
wing328 55be0330e3 Merge pull request #1039 from geekerzp/python-desciption
[Python] Fix issue in python client
2015-08-03 10:48:56 +08:00
wing328 fe83d18a09 Merge pull request #1026 from geekerzp/objc-deserializtion
[Objc] Fix deserialize nested map error
2015-07-31 16:17:11 +08:00