18346 Commits

Author SHA1 Message Date
Fredrik Gustafsson
277287a341 Merge branch 'develop_2.0' of https://github.com/Hadou1/swagger-codegen into develop_2.0
Conflicts:
	modules/swagger-codegen/src/main/resources/csharp/api.mustache
2015-06-05 12:33:49 +02:00
wing328
5a75eba42b regenerated perl sample 2015-06-05 18:30:58 +08:00
Fredrik Gustafsson
31c6a0a9da Extended the api-class generation by a interface generation 2015-06-05 12:29:25 +02:00
Fredrik Gustafsson
a1f156ca19 Updated 'api.mustache' to generate asynchronous methods aswell 2015-06-05 11:39:15 +02:00
geekerzp
eb90b907e7 rebuild python client 2015-06-05 17:02:38 +08:00
wing328
61a7d848f7 rename files in csharp and perl to fix issue 2015-06-05 17:00:11 +08:00
xhh
d70742119b Update unit tests 2015-06-05 16:45:19 +08:00
xhh
622b5c179a Merge remote-tracking branch 'origin/develop_2.0' into java-accept-contenttype
Conflicts:
	modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/JavaClientCodegen.java
	modules/swagger-codegen/src/main/resources/Java/ApiClient.mustache
	modules/swagger-codegen/src/main/resources/Java/api.mustache
	samples/client/petstore/java/src/main/java/io/swagger/client/ApiClient.java
	samples/client/petstore/java/src/main/java/io/swagger/client/api/PetApi.java
	samples/client/petstore/java/src/main/java/io/swagger/client/api/StoreApi.java
	samples/client/petstore/java/src/main/java/io/swagger/client/api/UserApi.java
2015-06-05 16:31:21 +08:00
geekerzp
ddc5293e6a updated api.mustache of python. 2015-06-05 16:19:49 +08:00
geekerzp
a30f537f5f fixed typo 2015-06-05 16:19:49 +08:00
geekerzp
813c0119aa added test case for 500 response of python client 2015-06-05 16:19:49 +08:00
geekerzp
8ef4c4401e updated rest.mustache of python client 2015-06-05 16:19:48 +08:00
geekerzp
5fbda0e206 added test case for 404 response of python client 2015-06-05 16:19:48 +08:00
geekerzp
fbe327ac2f Updated PythonClientCodegen.java
* updated method apiFileFolder.
* udpated method modelFileFolder.
2015-06-05 16:19:48 +08:00
geekerzp
ab6f327f35 Updated python client.
* Rename `ResponseError` exception to `ApiException`
* Use `File.separatorChar` to build file path in
  PythonClientCodegen.java
* Rename `config.py` module to `configuration.py`
* Rename `swagger.py` module to `api_client.py`
2015-06-05 16:19:48 +08:00
geekerzp
51887c64b5 Updated python codegen.
Use File.separatorChar to create invokerPacakge variable instread of '\'
char.
2015-06-05 16:17:29 +08:00
geekerzp
654a73c5a8 rebuild python client 2015-06-05 16:17:29 +08:00
geekerzp
eac884d85b updated ApiClient of python sdk. 2015-06-05 16:16:48 +08:00
geekerzp
d7aaaea0df updated config.py of python client. 2015-06-05 16:15:57 +08:00
geekerzp
b09250ed33 added authentication for python client.
completed.
2015-06-05 16:15:57 +08:00
geekerzp
0ca97e4b68 added authentication for python client.
Not completed
2015-06-05 16:15:14 +08:00
Tony Tam
59ca8bd986 Merge pull request #821 from geekerzp/develop_2.0_objc_test
[Objc] Update test case
2015-06-05 00:55:57 -07:00
Tony Tam
e1393d1912 Merge pull request #817 from who/develop_2.0
[Android] Enabling cli config options for android generator
2015-06-05 00:53:20 -07:00
Tony Tam
ddb3bd5477 Merge pull request #816 from geekerzp/develop_2.0_objc_auth
[Objc] Add authentication support (API key, HTTP basic)
2015-06-05 00:52:35 -07:00
Tony Tam
2ec18a1397 Merge branch 'wing328-php_object_support' into develop_2.0 2015-06-05 00:52:06 -07:00
Tony Tam
34072faccd merged 2015-06-05 00:51:52 -07:00
Tony Tam
26d9215e43 Merge pull request #808 from wing328/csharp_api_instance
[C#] Added ApiClient (Pluggable) and authentication (API key and HTTP basic auth)
2015-06-05 00:42:44 -07:00
Tony Tam
496e06a373 Merge pull request #806 from geekerzp/develop_2.0_python_https
[Python] Verified HTTPS with SSL/TLS cert.
2015-06-05 00:42:13 -07:00
Tony Tam
513bd17610 Merge pull request #803 from wing328/objc_fix_filepath
[ObjC] Minor fix to output path
2015-06-05 00:41:52 -07:00
Tony Tam
d9fcb777c1 Merge pull request #799 from wing328/perl_apiinvoker_instance
[Perl] Make API client more pluggable (ref: #778)
2015-06-05 00:41:26 -07:00
Tony Tam
05700a6799 Merge pull request #794 from wing328/php_debug_switch
[PHP] add debug switch
2015-06-05 00:40:32 -07:00
Tony Tam
29bd743391 Merge pull request #793 from geekerzp/develop_2.0_objc_apiclient
Make objc client more pluggable
2015-06-05 00:40:17 -07:00
Tony Tam
13e14652e3 Merge pull request #787 from geekerzp/develop_2.0_python_apiclient
[Python] Make API client more pluggable
2015-06-05 00:38:11 -07:00
Tony Tam
b41e88e83a Merge pull request #785 from wing328/csharp_add_restsharp_dll
[C#] Added RestSharp.dll and updated compile.bat
2015-06-05 00:38:05 -07:00
Tony Tam
cbc4da58ab Merge pull request #783 from xhh/ruby-auth
[Ruby] Add authentication support (API key, HTTP basic)
2015-06-05 00:36:12 -07:00
Tony Tam
aecb4adf4a Merge pull request #791 from xhh/java-api-client
[Java] Make API client more pluggable
2015-06-05 00:36:05 -07:00
wing328
ba227b7e72 rename api client 2015-06-04 21:19:16 +08:00
wing328
0423e0a2df support object response 2015-06-04 21:12:26 +08:00
wing328
afe816efb6 remove unused file 2015-06-04 20:30:41 +08:00
geekerzp
58feda7c8e Updated test case testCreateAndGetPet of objc client. 2015-06-04 16:44:12 +08:00
Fredrik Gustafsson
217765998d Extended the APIException by ErrorContent from response body 2015-06-03 16:23:45 +02:00
xhh
0ffe53933d Bug fix: "null" was used as post body for empty form parameters
The form parameters could be empty when all of them are optional and no
values are assigned to them.
2015-06-03 21:17:42 +08:00
xhh
cf4b4de970 Skip null header/form parameters
and fix the bug of getting file name for file parameter
2015-06-03 20:26:14 +08:00
xhh
2e285ed562 Support skipping SSL certification verification
in Ruby clients by e.g.:

    SwaggerClient::Swagger.configure do |config|
      config.verify_ssl = false
    end
2015-06-03 12:49:09 +08:00
wing328
9b919c54dd added http basic auth test 2015-06-03 11:21:10 +08:00
xhh
9618960558 Merge branch 'develop_2.0' into ruby-auth 2015-06-03 11:19:40 +08:00
wing328
fceaed34e4 rename apiclient 2015-06-03 10:19:07 +08:00
xhh
eb4973237b Add comments to code 2015-06-03 10:09:36 +08:00
wing328
9c747e3e37 fix query parameters 2015-06-03 09:21:45 +08:00
wing328
3d16d8b2b6 fix header 2015-06-03 08:34:45 +08:00