Commit Graph

478 Commits

Author SHA1 Message Date
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
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
Tony Tam
a2d2deeb0c Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-05-15 11:27:16 -07:00
Tony Tam
b4674d6fc5 template updates, tests 2015-05-15 11:27:03 -07:00
wing328
1f6a19b684 minor improvement to ruby api client accept and content-type header 2015-05-15 20:58:59 +08:00
geekerzp
c06cb38d64 updated objc client to support iso8601 datetime format 2015-05-15 17:49:56 +08:00
geekerzp
6826a1d7df updated readme.mustache in python client 2015-05-15 14:51:51 +08:00
geekerzp
d798b943f5 added python 2.7 and python 3.4 test environments 2015-05-15 14:38:06 +08:00
wing328
4466b6e15e add test case for upload file, improve error handling 2015-05-15 11:08:33 +08:00
Tony Tam
0248d6fd9f Merge pull request #677 from wing328/fix_swagger_type2
Fix PHP swagger type
2015-05-14 11:50:57 -04:00
Tony Tam
bc66894553 Merge pull request #688 from xhh/scala-form-params
Add form parameters support to Scala codegen
2015-05-14 11:50:42 -04:00
wing328
c12673a407 fix error handling for 4xx, 5xx returned by server 2015-05-14 14:16:12 +08:00
geekerzp
86e48ceef8 refactor python client using urllib3 2015-05-14 10:45:05 +08:00
Tony Tam
622d883344 fixed input type 2015-05-12 06:57:37 -04:00
Tony Tam
8519480f2c removed some cruft 2015-05-12 06:50:45 -04:00
Tony Tam
037a00720f added qt5 samples, script 2015-05-12 06:04:10 -04:00
Tony Tam
d6016757cb Merge pull request #705 from wing328/fix_required_parameter
Fix required parameter validation for Java, Android, PHP and Ruby
2015-05-12 05:48:22 -04:00
Tony Tam
08184aab1d Merge pull request #679 from xhh/petstore-scala-tests
Fix tests for Scala petstore sample
2015-05-12 05:48:11 -04:00
Tony Tam
e33fbc67ad Merge pull request #648 from geekerzp/develop_2.0_objc_naming
Updated naming convention in objc client.
2015-05-12 05:47:51 -04:00
wing328
2f5f2b367b update package name to confirm to csharp convention, fix default header 2015-05-12 12:45:59 +08:00
William Cheng
fc43828c20 update type mapping, update test.pl to use local file for testing upload 2015-05-08 03:58:02 +08:00
William Cheng
063a1ffd36 update type list in deserialize 2015-05-08 03:58:02 +08:00
William Cheng
1d4735f76d update subroutine argument 2015-05-08 03:58:01 +08:00
William Cheng
c03250132d update error message, update test script 2015-05-08 03:58:01 +08:00
William Cheng
48844442fc test post body (model), fix to_hash attribute mapping 2015-05-08 03:58:01 +08:00
William Cheng
f69fb40c71 add methods for static variable 2015-05-08 03:58:01 +08:00
William Cheng
0a34793f5a add inheritance to object (model) 2015-05-08 03:58:00 +08:00
William Cheng
07cd23edac seralization and deserialization work, get_pet_by_id and
update_pet_with_form work
2015-05-08 03:58:00 +08:00
William Cheng
a7ef1262e5 fix all swagger.pl syntax issue 2015-05-08 03:58:00 +08:00
William Cheng
c5fcf3ba2c remove pl files 2015-05-08 03:58:00 +08:00
William Cheng
d206035e0f add perl support - api template, bin, codegen 2015-05-08 03:57:59 +08:00
Tony Tam
c7e22b7a3b Merge pull request #726 from who/feature/gson-for-android-client
Feature: Use gson for android-client instead of jackson
2015-05-07 06:26:37 -07:00
Andrew B
20ced771ba Restoring the pom.xml so integration tests work 2015-05-07 01:09:25 -07:00
Andrew B
01b7385a5e Implementing gson in android client templates 2015-05-06 22:54:25 -07:00
wing328
070a6203e0 remove php comment 2015-05-07 13:35:19 +08:00
who
902c56f09b Initial commit of jackson-to-gson 2015-05-06 17:46:54 -07:00
Tony Tam
157da246c0 added async test sample 2015-05-06 12:56:45 -07:00
Tony Tam
65097a4908 Merge pull request #680 from geekerzp/develop_2.0_python_testing
Bug fix for deserialize model issue and added unit tests for python client
2015-05-04 21:11:35 -07:00
who
b94eb443ea Adding some tests that were accidentally deleted 2015-04-30 12:52:21 -07:00
who
6be2c06ed3 Adding maven publish functionality for android client 2015-04-30 10:34:43 -07:00
wing328
2e85871a4b remove hello.txt (created by mvn test) 2015-04-30 17:12:25 +08:00
wing328
47a8ef3031 fix required parameters in ruby 2015-04-30 17:01:36 +08:00
wing328
93e4ef0eec fix required parameters check for php 2015-04-30 16:52:33 +08:00
wing328
303378c5eb fix android required parameter check 2015-04-30 16:29:21 +08:00
Andrew B
5082f69631 Adding maven publish functionality for android client 2015-04-29 22:08:27 -07:00
Oleg Godovykh
14c2d14fc2 provide both jar and aar 2015-04-29 14:18:44 -04:00
Oleg Godovykh
119a981701 add possibility to create aar library 2015-04-29 13:39:00 -04:00
wing328
fb3088b765 fixed required parameter in java api 2015-04-29 17:31:38 +08:00
wing328
e7b170bf3c better comment on csharp api, add ParameterToString to handle date 2015-04-29 16:27:08 +08:00
wing328
96d837274e udpate csharp template with better comment and ParameterToString 2015-04-29 11:00:05 +08:00
wing328
8818c209df udpate csharp client with restsharp 2015-04-29 10:56:24 +08:00
wing328
5c057e1306 refactor csharp client using restsharp, getpetbyid working 2015-04-29 10:55:49 +08:00
Oleg Godovykh
b6495a9fc2 replace maven settings for Android client with gradle 2015-04-28 17:49:59 -04:00
xhh
4a55223a8f Add form parameters support to Scala codegen 2015-04-24 23:57:17 +08:00
geekerzp
3aa9982b23 Fixed issue that it will throw error when deserialize model in python client. 2015-04-23 18:19:08 +08:00
geekerzp
7d706f6a00 Added pom.xml for python client. 2015-04-23 18:09:32 +08:00
geekerzp
161aeb393b Add image file for python unit tests. 2015-04-23 17:38:57 +08:00
geekerzp
f9195a8a0e Added unit tests for python client. 2015-04-23 17:13:26 +08:00
xhh
78072f753c Fix tests for Scala petstore sample 2015-04-23 09:38:27 +08:00
wing328
d5a3cc7300 fix php swagger type 2015-04-23 00:42:36 +08:00
geekerzp
152eabbd6a Fixed PetstoreClient.xccheckout. 2015-04-21 16:33:28 +08:00
geekerzp
60ab624b23 Updated xcode project for petstore 2015-04-21 16:23:08 +08:00
geekerzp
4dd793c0ac Updated naming convention in objc client. 2015-04-21 16:23:08 +08:00
Tony Tam
7f4916f333 Merge pull request #664 from geekerzp/develop_2.0_python_content_type
Fixed encoding issue for request json body in python client.
2015-04-20 21:46:06 -07:00
geekerzp
d053d464dd Fixed encoding issue for request json body in python client. 2015-04-20 18:05:16 +08:00
William Cheng
5465708a42 add method documentation to android and scala 2015-04-19 23:51:46 +08:00
William Cheng
3622cfd169 add method documentation for objc client 2015-04-19 23:41:26 +08:00
William Cheng
ae389a8993 update python method documentation 2015-04-19 23:23:09 +08:00
wing328
7e37f3294a bug fix for post (model) and update php test cases 2015-04-17 20:01:58 +08:00
wing328
c87579e1f7 fix rspec due to change of optional parameter in ruby method 2015-04-17 01:03:15 +08:00
wing328
c30ed059fe update php api test with SwaggerClient.php 2015-04-17 00:26:06 +08:00
wing328
676c4d0835 add back php unit testing and readme to PHP SwaggerClient sample code 2015-04-17 00:26:06 +08:00
wing328
4c717829b3 update test.php, remove old SwaggerPetstore-php 2015-04-17 00:26:06 +08:00
wing328
8512259d02 update method name based on style guide, update petstore sample 2015-04-17 00:26:06 +08:00
xhh
de21088619 Support optional body parameter 2015-04-16 18:20:36 +08:00
xhh
61bf7f49cc Remove redundant blank lines 2015-04-16 15:56:08 +08:00
xhh
a819e4d523 Support optional parameters in Ruby client
* Pass optional parameters via the `opts` Hash
* Handle query parameters in a way similar to header/form parameters to
  support parameter name normalization, e.g. the "additional_metadata"
  key is passed for "additionalMetadata"
* Rename variables to be consistent: `query_params`, `header_params` and
  `form_params`
* Remove unnecessary blank lines
2015-04-16 15:56:08 +08:00
Tony Tam
57ca71fcc9 Merge pull request #626 from wing328/fix_ruby_rspec
Fixed Ruby rspec
2015-04-15 22:56:54 -07:00
Tony Tam
19d7dad33c Merge pull request #618 from wing328/python3_codegen
Added back python 3 codegen
2015-04-15 22:53:15 -07:00
Tony Tam
dc11c94514 Merge branch 'develop_2.0_objc_tests' of https://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_tests 2015-04-15 22:46:46 -07:00
Tony Tam
0525d66b86 regenerated 2015-04-15 22:43:48 -07:00
geekerzp
0a9df88e53 Using propertyIsOptional to implement optional property instead of
using `Optional` protocol in objc client.
2015-04-15 17:53:45 +08:00
geekerzp
989641892e Remove outdated tests in objc client 2015-04-15 15:10:46 +08:00
Tony Tam
33bd614a42 Merge pull request #625 from geekerzp/develop_2.0_python_form_params
Fixed request content-type in python client
2015-04-13 10:26:17 -07:00
wing328
4a0314849e fix ruby spec 2015-04-13 22:23:52 +08:00
geekerzp
10a9d298d7 Fixed request content-type in objc client.
In api.mustache the name of content-type is `Content-Type`,
but in swagger.mustache the name of content-type is `Content-type`.
2015-04-13 17:30:43 +08:00
William Cheng
13d513f02b fix double in php client response 2015-04-12 23:06:07 +08:00
geekerzp
00aa844964 update readme.md 2015-04-11 10:38:32 +08:00
geekerzp
e6bf58a707 package python sdk using setuptools 2015-04-11 10:38:32 +08:00
William Cheng
ccc0653923 add python 3 codegen 2015-04-10 19:42:09 +08:00
Tony Tam
70c14092f9 Merge pull request #610 from xhh/ruby-gemspec
Generate Ruby gemspec
2015-04-09 07:37:26 -06:00
wing328
a0756bf6f2 remove composer.lock 2015-04-09 15:57:25 +08:00
wing328
78e1fb231e remove php vendor 2015-04-09 15:56:19 +08:00