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
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
wing328
5cbe5d60aa
add iso8601 support to csharp, add more comments, add PATCH support
2015-04-09 15:55:13 +08:00
xhh
e9c5c1434b
Fix spec
2015-04-09 11:37:48 +08:00
xhh
817a74d4df
Add README.md file containing instructions on Ruby petstore sample
2015-04-09 11:34:10 +08:00
xhh
7cd8d0a1ac
Restructure gemspec related files to ease importing the files
2015-04-09 11:34:09 +08:00
geekerzp
3259a1d814
Fixed module name in __init__.py in python client.
2015-04-09 10:37:15 +08:00
geekerzp
806c26d54f
Merge branch 'develop_2.0' into develop_2.0_python_better_import
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/PythonClientCodegen.java
2015-04-09 09:31:50 +08:00
geekerzp
f2ecc271b5
Better import for python client.
2015-04-09 09:21:21 +08:00
Tony Tam
555ef7677d
Merge pull request #600 from wing328/python_variable_naming
...
Fixed parameter name, better naming convention for python client
2015-04-08 05:04:02 -06:00
William Cheng
9de22c8146
update petstore php sample
2015-04-08 12:00:37 +08:00
William Cheng
cb2f5d3e25
fix php warning in php5.3
2015-04-08 11:33:09 +08:00
William Cheng
18476114b9
update test case for php, add readme.md
2015-04-07 04:02:09 +08:00
William Cheng
bd07425b25
update php test case for PetApi
2015-04-07 03:59:20 +08:00
William Cheng
49ad6f47a5
fix parameter name, better naming convention for python client
2015-04-07 01:37:32 +08:00
Tony Tam
d55aaffc48
Merge pull request #597 from wing328/php_package
...
Updated PHP codegen to support packaging via Composer
2015-04-06 07:44:00 -06:00
William Cheng
2967cc3801
moved store spec into a separate file, update order id to 5 (as the
...
order with ID 2 is no longer found)
2015-04-06 19:05:19 +08:00
William Cheng
9c5153e8c8
fix test cases
2015-04-06 18:52:30 +08:00
William Cheng
0a4fc6a40f
update ruby petstore sample
2015-04-06 18:52:30 +08:00
wing328
3811a5a209
resolve conflict during rebase
2015-04-06 18:03:15 +08:00
Tony Tam
448462552f
updated logic, merged
2015-04-04 22:12:30 -07:00
Tony Tam
a57588caa1
Merge pull request #588 from wing328/csharp_response_warning
...
Eliminated warning related to response in CSharp API files
2015-04-04 21:00:31 -07:00
Tony Tam
fad7246e05
removed file
2015-04-04 20:59:57 -07:00
Tony Tam
15236ef376
updated ruby template
2015-04-04 17:45:22 -07:00
Tony Tam
950bfff1c1
fixed serialization of arrays
2015-04-04 17:20:18 -07:00
Tony Tam
bba91c7e92
added android tests
2015-04-04 17:20:04 -07:00
Tony Tam
ba2ccf788c
name rebuilds, tests
2015-04-04 17:00:22 -07:00
Tony Tam
e114875f02
updated test
2015-04-04 16:58:28 -07:00
wing328
660d336646
fix warning related to csharp response, better code format for csharp api
2015-04-03 23:10:10 +08:00
geekerzp
b4d4fa1a43
Update python sample code.
2015-04-03 18:21:33 +08:00
Camille Chafer
65b6d210bc
Examples updated with names lower-camelized
2015-04-02 18:02:21 +02:00
Camille Chafer
ef3811390f
Some fixes for Wordnik & Petstore examples
2015-04-02 17:46:26 +02:00
Camille Chafer
2ce55115a6
Add wordnik and petstore examples
2015-04-02 16:26:16 +02:00
William Cheng
1c0cb7f884
fix syntax
2015-04-02 06:12:07 +08:00
William Cheng
bc24e5e290
update ruby accept header
2015-04-02 05:23:53 +08:00
Tony Tam
8b8e8d70f9
Merge pull request #580 from wing328/php_content_type
...
Fix content-type and accept in PHP API
2015-04-01 07:29:57 -07:00
William Cheng
27dfa12335
remove csharp model files (lower case)
2015-04-01 17:43:36 +08:00
Tony Tam
13ee40a4b8
added test script
2015-03-31 21:48:12 -07:00
Tony Tam
084d448fd4
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-31 21:00:34 -07:00
Tony Tam
fe3c3cc8bc
fix for #578
2015-03-31 20:59:57 -07:00
xhh
d5ad4c4ae7
Fix date time format for Android client
...
According to Android's docs (https://developer.android.com/reference/java/text/SimpleDateFormat.html )
the `SimpleDateFormat` class in Android does not accept `XXX` as the timezone, it uses `Z` instead.
Also updated the date time format of Android and Java clients to include milliseconds.
2015-04-01 10:22:04 +08:00
Tony Tam
6ac497d774
rebuilt
2015-03-31 16:12:42 -07:00
Tony Tam
f72e5907bb
formatting
2015-03-31 16:08:09 -07:00
Tony Tam
01c956caba
cleanup
2015-03-31 16:07:56 -07:00
Tony Tam
744952aee4
formatting
2015-03-31 15:57:50 -07:00
William Cheng
03c48af9e6
Fix content-type and accept in PHP API
2015-04-01 04:26:32 +08:00
William Cheng
cb2f1e1bb1
update test case for StoreApi.getOrderById (id: 1 => 2)
2015-03-31 14:37:59 +08:00
William Cheng
59140bd3f3
remove commented unused code from response spec
2015-03-31 14:17:58 +08:00
William Cheng
0ee39c67fe
fix rspec, update ruby client default configuration
2015-03-31 01:28:33 +08:00