Commit Graph

998 Commits

Author SHA1 Message Date
Tony Tam
385fab225e Merge pull request #871 from xhh/ruby-object-type
[Ruby] Support deserialization of "object" type in Ruby generator
2015-06-22 16:53:21 -07:00
Raghav Sidhanti
79a5614be9 Invalid strings will be passed as blank query param. 2015-06-22 15:55:29 -07:00
Raghav Sidhanti
a1b56c9b83 Renamed QueryParam to Pair class in Android templates. 2015-06-22 15:28:29 -07:00
Raghav Sidhanti
ecddfb7ccf Renamed QueryParam to Pair class in Java templates. 2015-06-22 15:16:45 -07:00
wing328
1d59937150 add nunit test for csharp 2015-06-22 11:53:44 +08:00
Raghav Sidhanti
7a9a41fe01 Java and Android template changes to accommodate query params defined by the collection-format. 2015-06-19 14:06:25 -07:00
Andrew B
1aeb50feef Replacing getClientResponseStatus() with getStatusInfo() 2015-06-18 14:41:17 -07:00
Branden Cash
b74050dd7b Change to use the autoload.php and change the namespacing 2015-06-18 11:45:08 -07:00
Branden Cash
eed45a41a3 Fixed the missing closing doc chars and updated sample 2015-06-18 11:43:54 -07:00
Branden Cash
719a0b732e Update sample client 2015-06-18 11:43:48 -07:00
William Cheng
f957471509 update silex sample code location 2015-06-19 02:37:08 +08:00
William Cheng
0b0325b8af update readme, fix swaggering name 2015-06-19 02:32:50 +08:00
William Cheng
d178d5e7d8 add sinatra template 2015-06-19 02:11:08 +08:00
wing328
6ab7be4058 add package version 2015-06-18 22:20:52 +08:00
wing328
df72188bc0 add cli support to csharp 2015-06-18 22:06:59 +08:00
geekerzp
8d18aee2f2 Update test case test_deserialize_to_dict of python client 2015-06-18 22:02:54 +08:00
Martin Hardorf
449ba4f644 Fixed required parameters for APIs in TypeScript 2015-06-18 12:42:04 +02:00
geekerzp
5d19ef6146 Generate the python into python/ folder directly 2015-06-18 10:43:24 +08:00
geekerzp
a32335dfbc Enable cli config options for python generator 2015-06-18 10:43:24 +08:00
geekerzp
6b6480a026 Updated xcode project of objc client 2015-06-18 10:38:19 +08:00
geekerzp
a4df33d040 Add comments for SWGJSONResponseSerializer#responseObjectForResponse
method of objective-c client.
2015-06-18 10:03:51 +08:00
geekerzp
8b15416be5 Add SWGJSONResponseSerializer for objective-c client.
If the response data is valid json, return the deserialized json.
If the response data is invalid json, return the string of response data.
2015-06-18 10:03:51 +08:00
geekerzp
bc92465bf7 Update Objective-C method description (doc comments) style 2015-06-18 10:03:51 +08:00
geekerzp
a6bdc35d59 Support pure object response for objc client 2015-06-18 10:03:51 +08:00
geekerzp
c50c8b724d Support map response for objc client.
completed.
2015-06-18 10:03:50 +08:00
geekerzp
0da3e58fff Support map response for objc client.
not completed
2015-06-18 10:03:12 +08:00
xhh
edcb71ad22 Merge branch 'develop_2.0' into params-order
Conflicts:
	bin/all-petstore.sh
2015-06-18 09:59:13 +08:00
xhh
d6d707543d Merge branch 'develop_2.0' into ruby-object-type
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/RubyClientCodegen.java
2015-06-18 09:56:58 +08:00
William Cheng
8858e7d7e3 update perl sample 2015-06-18 02:44:40 +08:00
wing328
d7315b56dc removed non-perl update 2015-06-18 10:57:10 +08:00
wing328
10e07eaf74 add support for cli (perl) 2015-06-18 10:57:09 +08:00
Martin Hardorf
9e8631b75f Added shell scripts for sample generation of TypeScript 2015-06-17 17:56:37 +02:00
Tony Tam
6ad3a717fe Merge pull request #882 from wing328/php_add_silex
[PHP] add Silex server-side codegen
2015-06-17 08:29:48 -07:00
Tony Tam
d8c337185f Merge pull request #857 from wing328/php_warning
[PHP] Remove PHP5.3 warning
2015-06-17 08:27:47 -07:00
Tony Tam
5ade64b3e1 Merge pull request #856 from wing328/csharp_upgrade_restsharp
[C#] upgrade restsharp to 105.1.0
2015-06-17 08:27:10 -07:00
Tony Tam
e65a079f0e Merge pull request #855 from geekerzp/develop_2.0_python_deserialize_map
[Python] bug fix for map response
2015-06-17 08:26:58 -07:00
Tony Tam
378ffffdc7 Merge pull request #854 from geekerzp/develop_2.0_objc_pro_rename
[Objc] Change xcode project name in objc sample code
2015-06-17 08:26:42 -07:00
William Cheng
436db1f8e7 add __toString and update php sample 2015-06-17 19:00:29 +08:00
xhh
9c4e5ed596 Rebuild Petstare sample for Java, Android, PHP, etc. 2015-06-17 16:15:37 +08:00
wing328
ce40da0f71 add php silex server side codegen 2015-06-17 16:01:24 +08:00
xhh
7c355030f4 Add to_s method for models 2015-06-16 18:41:51 +08:00
xhh
a59d4ba346 Add test case for finding nonexistent pet 2015-06-15 16:51:38 +08:00
xhh
ec8e5179cb Remove unused comments 2015-06-15 16:46:30 +08:00
xhh
9d5928551b Unify ClientError and ServerError into ApiError
in Ruby generator
2015-06-15 16:38:08 +08:00
xhh
e9c1dd7842 Regard bare "object" type as Object, add comments
The handling of base "object" type (without definions of
"additionalProperties") is similar to Java generator now.
2015-06-15 12:49:17 +08:00
geekerzp
718a9a79ed Update test case test_deserialize_to_object of python client. 2015-06-13 19:05:15 +08:00
geekerzp
ff9623fb5c Support pure object response for python client. 2015-06-13 18:58:27 +08:00
xhh
80616b4c2b Add test cases for StoreApi#get_inventory 2015-06-12 23:03:17 +08:00
xhh
36f0ed6d0c Add test cases for Response#deserialize 2015-06-12 22:44:52 +08:00
xhh
4c8c6c3880 Rebuild Ruby Petstore sample 2015-06-12 20:18:50 +08:00
William Cheng
7aab1eaffb update test.php to put exception test at last 2015-06-10 23:53:56 +08:00
wing328
a0c55693dc add test case for loginUser, separate test cases into different files 2015-06-10 21:59:48 +08:00
wing328
9aca2868b9 change static method to instance method, update test case to remove php warning 2015-06-10 21:18:48 +08:00
wing328
4982784d7c upgrade restsharp to 105.1.0 2015-06-10 15:57:07 +08:00
geekerzp
e2d441e862 support map type response for python client 2015-06-10 11:55:12 +08:00
wing328
303dbe7730 fix array,map for perl, add test case 2015-06-10 10:53:21 +08:00
geekerzp
d7b10a17c1 Renamed objc client from PetstoreClient to SwaggerClient 2015-06-10 10:53:16 +08:00
fehguy
570383d5d5 updated name, disabled test 2015-06-09 00:41:08 -07:00
fehguy
3d2f09a693 updated versions 2015-06-09 00:25:09 -07:00
wing328
207776cec6 udpate podfile 2015-06-09 15:14:37 +08:00
wing328
680078dc58 fix csharp refer to apiinvoker 2015-06-09 13:52:01 +08:00
wing328
7fd996bc86 update php sample 2015-06-09 13:31:14 +08:00
Tony Tam
c1ddb84839 restored imports 2015-06-08 16:04:04 -07:00
Tony Tam
445d0f7928 rebuilt 2015-06-08 15:48:49 -07:00
Tony Tam
637ee77d66 added script, fixed templates 2015-06-08 15:40:05 -07:00
Tony Tam
64ea3f8177 rebuilt 2015-06-07 20:50:35 -07:00
Tony Tam
aaa0603e29 rebuilt, added back imports 2015-06-07 20:47:22 -07:00
Tony Tam
450edae160 fixed imports 2015-06-07 20:35:56 -07:00
Tony Tam
4f0198dd13 rebuilt, fixed test imports 2015-06-07 20:30:41 -07:00
Ron
8ee8eddcff Code reformatting 2015-06-07 11:56:26 -04:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
Ron
22d7db2cb4 url changes 2015-06-07 11:46:11 -04:00
Ron
96107193e9 updated reverb references 2015-06-07 11:18:49 -04:00
Tony Tam
6c57810128 rebuilt 2015-06-07 00:08:01 -07:00
Tony Tam
8c340d52a4 updated packages 2015-06-06 23:58:36 -07:00
Tony Tam
0c1657d744 updated package 2015-06-06 23:43:34 -07:00
xhh
d345283ab5 Merge branch '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
	samples/client/petstore/java/src/test/java/io/swagger/client/ApiClientTest.java
2015-06-06 08:46:19 +08:00
Tony Tam
d2cb05f14f Merge pull request #797 from geekerzp/develop_2.0_python_auth
[Python] Add authentication support (API key, HTTP basic)
2015-06-05 09:15:54 -07:00
Tony Tam
b4f153c202 Merge pull request #826 from xhh/java-auth
[Java] Add authentication support (API key, HTTP basic)
2015-06-05 08:45:08 -07:00
Tony Tam
0d09d43257 Merge pull request #823 from wing328/fix_file_rename
[C#] Fix ApiException file name
2015-06-05 08:43:08 -07:00
wing328
d0f9345c5a fix php map, add test case for get inventory 2015-06-05 21:57:12 +08:00
xhh
fffc5d7c35 Move authentications into ApiClient 2015-06-05 20:00:32 +08:00
xhh
947935f3d9 Merge remote-tracking branch 'origin/develop_2.0' into java-auth
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/Configuration.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
	samples/client/petstore/java/src/test/java/io/swagger/client/ConfigurationTest.java
	samples/client/petstore/java/src/test/java/io/swagger/petstore/test/PetApiTest.java
2015-06-05 18:43:49 +08:00
wing328
5a75eba42b regenerated perl sample 2015-06-05 18:30:58 +08:00
geekerzp
eb90b907e7 rebuild python client 2015-06-05 17:02:38 +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
5fbda0e206 added test case for 404 response of python client 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
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
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
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
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
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
wing328
0423e0a2df support object response 2015-06-04 21:12:26 +08:00
geekerzp
58feda7c8e Updated test case testCreateAndGetPet of objc client. 2015-06-04 16:44:12 +08: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
xhh
24c29acc09 Merge branch 'develop_2.0' into java-api-client
Conflicts:
	modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/JavaClientCodegen.java
2015-06-02 22:36:55 +08:00
wing328
7080983521 return exception instead of null for 404, add properties to api exception class 2015-06-02 17:25:38 +08:00
xhh
19540ed7f0 Store response headers and body in ApiException 2015-06-02 15:33:44 +08:00
geekerzp
699df0029b updated comments for objc client. 2015-06-02 15:33:33 +08:00
geekerzp
86971ee752 added comments for objc client 2015-06-02 11:50:47 +08:00
wing328
762a3279ea clean up test.php 2015-06-01 14:50:57 +08:00
wing328
8d708c2442 add test case for default header 2015-05-31 11:17:59 +08:00
wing328
83d069d053 add support for obj, remove null from serialized json string 2015-05-31 09:49:24 +08:00
geekerzp
b5429d9e8e Added authentication for objc client. 2015-05-30 18:04:20 +08:00
Oleg Godovykh
ec08d31031 add template for Retrofit and Gson 2015-05-29 12:23:18 -04:00
wing328
5f36ad3b75 add authentication support 2015-05-29 16:43:27 +08:00
geekerzp
18cf6bcfa6 Updated python client.
Verified HTTPS with SSL/TLS.
2015-05-29 15:09:19 +08:00
xhh
a8c526efd5 Add unit tests for Configuration and ApiClient 2015-05-29 12:08:42 +08:00
xhh
62c8f9e1e2 Rebuild Java Petstore sample 2015-05-29 12:08:42 +08:00
xhh
a29c3abeb8 Use File.separatorChar in Ruby generator, add comments 2015-05-29 12:05:47 +08:00
xhh
623a1278cf Add test case for API key auth 2015-05-29 11:57:46 +08:00
xhh
e52694cde0 Regenerate Ruby Petstore sample 2015-05-29 11:57:46 +08:00
xhh
95813714a5 Add support of HTTP basic and API key auth to Ruby codegen 2015-05-29 11:57:46 +08:00
xhh
6a6473ede3 Allow omitting username/password for HTTP basic auth 2015-05-29 11:55:48 +08:00
xhh
e10e1f5249 Refactor auth method naming, add comments 2015-05-29 11:29:06 +08:00
xhh
6eb1a89205 Add authentication helper methods and test cases 2015-05-29 11:28:03 +08:00
xhh
4d25d264c4 Merge remote-tracking branch 'origin/develop_2.0' into java-auth
Conflicts:
	modules/swagger-codegen/src/main/resources/Java/apiInvoker.mustache
	samples/client/petstore/java/src/main/java/io/swagger/client/ApiInvoker.java
2015-05-29 10:08:50 +08:00
wing328
165efdbdbb rename apiinvoker to apiclient, add configuration, make apiclient an instance 2015-05-28 18:24:03 +08:00
wing328
e993d08563 rename APIClient to ApiClient, APIClientException to APIException 2015-05-28 15:06:31 +08:00
wing328
1a868abdfa rename APIClient to ApiClient 2015-05-28 10:51:36 +08:00
wing328
2c12312b97 update user agent and add more test cases 2015-05-27 22:44:56 +08:00
wing328
866b546cfd make api client pluggable 2015-05-27 17:56:39 +08:00
wing328
4d1d163a73 update php template to debug curl 2015-05-26 23:52:35 +08:00
wing328
171bf969c7 add debug switch to configuration 2015-05-26 23:20:34 +08:00
geekerzp
ca145297e9 Updated ApiClient of objc sdk.
When create api instance, if we don't pass the `apiClient` parameter,
then get api client instance from the pool.
2015-05-26 18:00:45 +08:00
wing328
c2c43bba37 make datetime nullable 2015-05-26 17:48:52 +08:00
xhh
951b7a9075 Do not use JSON as default Accept header when no produces present 2015-05-26 10:35:49 +08:00
wing328
f807e34b2b refactor csharp (no compile error) 2015-05-25 18:21:17 +08:00
xhh
aa03be7f76 Clean up old code 2015-05-25 17:25:32 +08:00
xhh
ed14c515bf Add comments to string utility methods 2015-05-25 16:01:57 +08:00
geekerzp
2d545c7f0b updated ApiClient of python sdk.
Change staticmethod to instance method.
2015-05-25 15:29:31 +08:00
geekerzp
3beeb6125e updated ApiClient of python sdk.
When create api instance, if we don't pass the `api_client` parameter,
then use the default api_client in `config` module.
2015-05-25 14:31:55 +08:00
xhh
19a8ac4841 Add unit tests 2015-05-25 12:32:24 +08:00
xhh
85d0e08a80 Rebuild Java Petstore client 2015-05-25 12:31:54 +08:00
wing328
92dd5cab93 add restsharp.dll, update compile.bat 2015-05-25 11:44:08 +08:00
xhh
141b580c8c Minor improvement to Java API client accept and content-type header 2015-05-24 08:52:14 +08:00
Tony Tam
087c28dae4 rebuilt client 2015-05-23 09:04:46 -07:00
Tony Tam
85c37fbe27 fix for #781 2015-05-23 09:04:40 -07:00
Tony Tam
ad9b790712 updated sample 2015-05-23 09:04:06 -07:00
Tony Tam
82436c5b44 Merge pull request #780 from geekerzp/develop_2.0_objc_contenttype
Minor improvement to Objc API Client 'accept' and 'content-type' header
2015-05-23 08:54:53 -07:00
Tony Tam
156afa7795 Merge pull request #778 from wing328/php_apiclient_instance
[PHP] Make API client more pluggable
2015-05-23 08:54:33 -07:00
Tony Tam
74dc05bbf5 Merge pull request #776 from wing328/php53_fix_warning
[PHP] Fix warning/error related to PHP5.3
2015-05-23 08:53:52 -07:00
Tony Tam
b6d206aff7 Merge pull request #774 from geekerzp/develop_2.0_python_contenttype
Minor improvement to Python API Client 'accept' and 'content-type' header
2015-05-23 08:53:34 -07:00
Tony Tam
3cb9d094d3 Merge branch 'ruby-void-response' of ssh://github.com/xhh/swagger-codegen into xhh-ruby-void-response 2015-05-23 08:49:28 -07:00
Tony Tam
d83a275b6e Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-05-23 08:48:40 -07:00
Tony Tam
565f054b79 merged 2015-05-23 08:48:18 -07:00
Tony Tam
f4aee62fb4 Merge pull request #775 from wing328/csharp_fix_object_type
[C#] Fix "object' type for response
2015-05-23 08:43:14 -07:00
Tony Tam
d447c423b5 updated test to get expected value 2015-05-23 08:33:48 -07:00
Tony Tam
f9ed8a9a08 updated test to get expected value 2015-05-23 08:33:40 -07:00
geekerzp
2514f3aa08 update SWGApiClient.h of objc client. 2015-05-23 15:29:38 +08:00
geekerzp
3d3cbe115e minor improvement to objc client accept and content-type header 2015-05-23 15:22:12 +08:00
wing328
691838c47d add test case for api client instance 2015-05-23 10:35:19 +08:00
wing328
612abf134b api client as instance (not static class) 2015-05-22 22:09:51 +08:00
geekerzp
87a730b5a2 Merge branch 'develop_2.0' into develop_2.0_objc_contenttype
Conflicts:
	samples/client/petstore/objc/client/SWGPetApi.m
2015-05-22 17:32:57 +08:00
geekerzp
8d0efd812c updated unittests of python client 2015-05-22 15:50:09 +08:00
geekerzp
245ce642ce add test cases for ApiClient.select_header_accept and
ApiClient.select_header_content_type of python client.
2015-05-22 15:28:36 +08:00
wing328
df4b952312 fix object type without ref for CSharp 2015-05-22 14:12:53 +08:00
xhh
43cfc7d401 Setup authentications in test cases 2015-05-22 12:07:08 +08:00
xhh
16ba2a54ea Add test cases for API key and HTTP basic auth 2015-05-22 11:17:44 +08:00
geekerzp
bc9abceef3 removed temp files from python client 2015-05-22 11:12:35 +08:00
geekerzp
8a311d693b updated python client samples 2015-05-22 10:50:11 +08:00
geekerzp
52807c0724 minor improvement to python client accept and content-type header 2015-05-22 10:45:38 +08:00
William Cheng
fa15f58506 fix warning/error in php5.3 2015-05-22 05:15:46 +08:00
xhh
f616605e7e Regenerate Java Petstore sample 2015-05-21 22:09:08 +08:00
Tony Tam
99a11636da rebuilt 2015-05-20 22:51:30 -07:00
Tony Tam
3629a190ae merged 2015-05-20 22:50:59 -07:00
Tony Tam
715a9b8678 merged 2015-05-20 22:50:41 -07:00
Tony Tam
4187be2dc3 Merge pull request #767 from geekerzp/develop_2.0_python_model
Pretty print for models of python client
2015-05-20 22:46:41 -07:00
Tony Tam
c8a56add5d merged 2015-05-20 22:45:52 -07:00
Tony Tam
e66f9d7fce Merge pull request #760 from geekerzp/develop_2.0_objc_required_parameter
Fix required parameter validation for Objc
2015-05-20 22:42:10 -07:00
Tony Tam
9bf9b3edb7 rebuilt 2015-05-20 22:41:09 -07:00
Tony Tam
779915a51f rebuilt 2015-05-20 22:34:54 -07:00
Tony Tam
c509bbcb99 updated 2015-05-20 22:34:29 -07:00
Tony Tam
8231e7e36a Merge branch 'develop_2.0_objc_iso8601' of ssh://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_iso8601 2015-05-20 22:29:26 -07:00
Tony Tam
11dd7784f8 rebuilt 2015-05-20 22:20:51 -07:00
Tony Tam
ab23cccab4 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-05-20 22:13:03 -07:00
Tony Tam
e58f8db9aa merged 2015-05-20 22:12:37 -07:00
Tony Tam
b059910a01 Merge pull request #700 from wing328/csharp_restcsharp
Use RestSharp for CSharp API client
2015-05-20 21:52:28 -07:00
Tony Tam
ff81789b37 merged 2015-05-20 21:41:17 -07:00
Tony Tam
e6efcdb6af added files, updated parser version 2015-05-20 21:39:09 -07:00
xhh
9cf4c66331 Update method returning value comment 2015-05-21 11:30:30 +08:00
wing328
4f310cd7b1 update function comment 2015-05-20 22:13:24 +08:00
geekerzp
9ff0d90853 Updated python models.
Overwrite the instance method `__repr__`,
make the `pprint` method output properties infos of the models.
2015-05-20 22:05:34 +08:00
wing328
6e13403a37 fix http basic auth, add test cases for new api client without host 2015-05-20 21:55:16 +08:00
xhh
8bf84aabe5 Add test case for nil return value 2015-05-20 21:13:20 +08:00
xhh
50a767ef03 Regenerate Ruby Petstore sample 2015-05-20 21:13:02 +08:00
wing328
9a1dedbe76 add test case (getPetbyId), remove old authenetication (only supports header) 2015-05-20 18:43:34 +08:00
wing328
20439e646f add test case and prefix support 2015-05-20 18:25:35 +08:00
wing328
06c7a6a109 add todo for oauth, support multiple api key 2015-05-20 17:13:52 +08:00
wing328
278a653154 add authentication 2015-05-20 17:13:52 +08:00
geekerzp
3a8b149f09 minor improvement to objc api client accept and content-type header 2015-05-20 15:52:00 +08:00
kubo_takaichi
23d714f2f1 Add swift code generator 2015-05-20 11:27:45 +09:00
xhh
792059f195 Avoid warnings for ruby gem building 2015-05-20 09:23:45 +08:00
xhh
70c74d282f Fix tests 2015-05-20 09:23:45 +08:00
xhh
ab4975b7f1 Regenerate petstore ruby sample 2015-05-20 09:23:44 +08:00
xhh
f766614b4d Clean old files generated 2015-05-20 09:23:44 +08:00
xhh
fcf1327c1f Rename swagger-client to swagger_client
according to guides from rubygems: http://guides.rubygems.org/name-your-gem/
2015-05-20 09:23:44 +08:00
xhh
b140f1f152 Fix example code in README.md of Ruby petstore sample 2015-05-20 09:23:44 +08:00
xhh
87904e8b69 Set version dynamically in ruby codegen
Conflicts:
	modules/swagger-codegen/src/main/resources/ruby/swagger/version.mustache
	samples/client/petstore/ruby/lib/swagger/version.rb
2015-05-20 09:23:44 +08:00
xhh
194e9e6f05 Make petstore tests pass 2015-05-20 09:23:43 +08:00
xhh
8dd7d3aacd Regenerate ruby petstore sample code 2015-05-20 09:23:43 +08:00
geekerzp
a0abea4b72 added required parameters check for objc 2015-05-19 17:12:46 +08:00
wing328
5744bd0138 better exception using InvalidArgumentException 2015-05-19 16:21:06 +08:00
xhh
db9ca1a485 Fix test of updatePetWithForm for Android Petstore sample 2015-05-19 15:42:29 +08:00
wing328
af260cba41 update api client to support default header 2015-05-19 15:33:03 +08:00
geekerzp
a77ae51318 update python tests 2015-05-19 15:21:09 +08:00
wing328
5aad44e628 added back test case for updatePetWithForm 2015-05-19 10:15:36 +08:00
wing328
41e178e268 better accept and content-type for php, added test cases 2015-05-18 22:16:54 +08:00
Tony Tam
e068ad4494 Merge pull request #756 from wing328/perl_improve_accept_header
[Perl] better logic for accept and content-type, added test cases
2015-05-18 06:36:11 -07:00
wing328
7fc2f74851 remove commented code 2015-05-18 16:39:33 +08:00
wing328
abbea5ec4c better logic for accept and content-type, added test cases 2015-05-18 16:23:46 +08:00
William Cheng
05ac516ffa clean up ruby sample, remove commented code, bug fix 2015-05-18 04:30:26 +08:00
William Cheng
3de9b4bfc8 remove (duplicated) object_to_http_body and object_to_hash from swagger.rb 2015-05-17 23:47:55 +08:00
William Cheng
92a2011207 fix post model, update rspec 2015-05-17 23:38:51 +08:00
William Cheng
8710fbfde7 add base object 2015-05-17 23:36:13 +08:00
Tony Tam
0e0e265a2a Merge pull request #746 from wing328/ruby_fix_contenttype
Minor improvement to Ruby API Client 'accept' and 'content-type' header
2015-05-16 09:13:58 -07:00
Tony Tam
d6ac7c5ecf Merge pull request #659 from wing328/add_php_unit_test
Bug fix for PHP client POST (model) and add more PHP test cases
2015-05-16 09:13:35 -07:00
Tony Tam
8501ffe240 Merge pull request #716 from ponelat/fix/click-on-return-type-in-dynamic-html
Fix/click on return type in dynamic html
2015-05-16 09:11:26 -07:00
Tony Tam
919bab0765 Merge pull request #717 from ponelat/fix/dyn-html-pos-error
Fix dynamic-html positioning of parameters
2015-05-16 08:56:51 -07:00
Ron
3e719d087f Merge pull request #715 from ponelat/fix/dead-css-include
html: build and remove dead css include
2015-05-16 17:23:49 +02:00
Tony Tam
472e2afd8e Merge pull request #749 from wing328/perl_add_unittest
Add unit testing for Perl
2015-05-16 06:56:53 -07:00
geekerzp
68b0259c47 updated readme.md of python 2015-05-16 18:05:06 +08:00
geekerzp
9809ce1d18 updated python unittests 2015-05-16 17:30:42 +08:00
William Cheng
7a5db5e665 add pom.xml for perl integration test 2015-05-16 16:44:32 +08:00
Tony Tam
6ec7cf5a9d updated request process 2015-05-16 01:09:01 -07:00
Tony Tam
f4cbd88e2c fixed ordering 2015-05-16 00:45:42 -07:00
William Cheng
9904c0e09f add unit testing for pet 2015-05-16 15:37:58 +08:00