Commit Graph

2245 Commits

Author SHA1 Message Date
kubo_takaichi
5dfa753f5c Do refactor and add extension methods 2015-05-20 11:27:45 +09:00
kubo_takaichi
23d714f2f1 Add swift code generator 2015-05-20 11:27:45 +09:00
kubo_takaichi
f627c81399 Remove some characters from param name and operation id
(since swagger-doc emits improper characters)
2015-05-20 11:27:45 +09:00
xhh
0fb1918196 Revert unnecessary changes on whitespace 2015-05-20 10:13:29 +08:00
xhh
312f1c6f25 Avoid the importPath field 2015-05-20 09:23:45 +08: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
6eaaa5cc69 Include base_object model into module structure 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
xhh
104bcc1f89 Organize generated Ruby code into a module 2015-05-20 09:23:43 +08:00
Fake Bob Dobbs
a55c03013d use the defaultValue for spring mvc RequestHeader annotations; carry over the required value if set for RequestPart annotations 2015-05-19 11:47:34 -04:00
Fake Bob Dobbs
b783363c56 move the defaultValues for Forms and Headers as well 2015-05-19 11:45:48 -04:00
Alexey Nechaev
f0e4ea1780 Fixed #728: Handling of recursive model definitions has been improved. 2015-05-19 18:36:03 +03:00
Tony Tam
6a336f2e1e Merge pull request #758 from xhh/fix-android-form-test
Fix test of updatePetWithForm for Android Petstore sample
2015-05-19 08:29:48 -07:00
Ron
312637c94b Merge pull request #762 from wing328/update_readme
Update README.md with new generators
2015-05-19 07:21:52 -06:00
William Cheng
e717f74a0a update readme with new generators 2015-05-19 21:15:09 +08:00
Nadezhda Makarkina
3dde19bb59 Fixed #593: Python code failure caused by Model IDs with dots has been fixed 2015-05-19 14:31:42 +03: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
Tony Tam
72a4d2df2f Merge pull request #755 from wing328/ruby_cleanup_sample
[Ruby] Cleanup Ruby Petstore sample and bug fix
2015-05-17 21:41:21 -07:00
William Cheng
05ac516ffa clean up ruby sample, remove commented code, bug fix 2015-05-18 04:30:26 +08:00
Tony Tam
01423d4a6b Merge pull request #753 from wing328/ruby_model_improve
[Ruby] bug fixes for posting with sub-models and enhancements (refactoring)
2015-05-17 09:34:20 -07: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