Commit Graph

162 Commits

Author SHA1 Message Date
wing328
aeaf60713f Merge branch 'feature/ruby_enum_support2' of https://github.com/zlx/swagger-codegen into zlx-feature/ruby_enum_support2
Conflicts:
	samples/client/petstore/ruby/README.md
	samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb
	samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb
	samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb
2016-05-26 17:20:49 +08:00
wing328
29008b5802 add licence template for ruby api client 2016-05-25 00:48:31 +08:00
wing328
568fa4f514 add apache license to remaining ruby files (test, spec, etc) 2016-05-24 23:20:23 +08:00
wing328
c7110debee update ruby api client to use apache v2 license 2016-05-24 17:50:28 +08:00
Newell Zhu
24a0ced972 regenerate ruby spec file 2016-05-23 21:30:40 +08:00
Newell Zhu
942b015c8f Add normal class enum support 2016-05-23 20:54:30 +08:00
wing328
bc44f74786 Merge pull request #2912 from zlx/feature/ruby_enum_support
Add Ruby enum support
2016-05-21 17:39:56 +08:00
Newell Zhu
a7ca3870df remove ruby model leading space 2016-05-21 17:18:53 +08:00
wing328
c6f03806df Replaced {{mediaType}} with {{{mediaType}} to keep the original media 2016-05-20 17:48:47 +08:00
Newell Zhu
f45d6a4d60 Generate ruby enum 2016-05-20 08:44:53 +08:00
Newell Zhu
6c626ccc7a remove tailing spaces 2016-05-17 19:53:36 +08:00
wing328
31daa2b092 update ruby test files 2016-05-10 14:56:14 +08:00
wing328
d54877b5d3 add ruby spec for configuration, api client, replace should with expect 2016-05-10 14:18:06 +08:00
Griffin Schneider
e5ab34b658 Replace 'BEARER' with 'Bearer' everywhere.
RFC6750 indicates that the correct header format is 'Bearer <token>',
not 'BEARER <token>'.
2016-05-05 16:14:45 -04:00
Brian Hou
1361bb7c0b Fix ruby model boolean attributes 2016-04-26 10:21:16 -07:00
wing328
354449ebfe add validation to method parameters 2016-04-26 00:06:44 +08:00
wing328
4854b79a31 add pattern check to ruby model 2016-04-25 22:23:23 +08:00
wing328
0e58265eb5 use instance variable in validation rule 2016-04-25 21:52:37 +08:00
wing328
e17a620506 add methods to validate the ruby object 2016-04-25 19:18:05 +08:00
wing328
3c36f1df37 use ArgumentError in ruby model 2016-04-25 17:45:32 +08:00
wing328
ab986a7228 add more validation test for ruby model 2016-04-25 17:36:32 +08:00
wing328
e143c6cd2f add validation to ruby model 2016-04-25 17:07:42 +08:00
wing328
37600e1172 add default value to gem spec 2016-04-20 18:49:29 +08:00
wing328
ccc52c2554 update gem spec 2016-04-19 23:41:26 +08:00
Kevin Glinski
2beeabb33a fixing typeos 2016-04-14 08:22:56 -04:00
wing328
44a4219e3e fix swift mapping with int and number 2016-04-11 19:37:56 +08:00
wing328
45e903b41b minor ruby code improvement 2016-04-09 17:47:21 +08:00
wing328
20f1e97df3 fix typo in readme 2016-03-30 20:58:18 +08:00
wing328
d78113be95 fix summary tab in ruby api 2016-03-19 11:16:02 +08:00
wing328
9e45a99e60 udpate ruby api doc 2016-03-19 11:09:49 +08:00
xhh
4100a8537b Display parameter's default value for operations
Done for Java clients (default, jersey2, okhttp-gson), Ruby client and
JavaScript client.
2016-03-17 16:22:36 +08:00
wing328
7b31dabe77 fix perl, ruby auth doc in readme 2016-03-16 14:58:19 +08:00
wing328
be7a49385f set default user default for ruby, php, python, java 2016-03-15 11:41:47 +08:00
wing328
e10c28596c update user-agent for Ruby 2016-03-15 11:41:47 +08:00
xhh
7505b167b7 Ruby docs: add require and print statements 2016-03-14 15:42:59 +08:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
xhh
d274af4d4a Ruby docs: add sample code of configuring auths 2016-03-11 19:05:27 +08:00
xhh
1df0923525 Ruby: improve handling of default values and examples for parameters in docs 2016-03-11 15:23:55 +08:00
xhh
eafcc2427d Some improvements on Ruby docs 2016-03-10 17:19:18 +08:00
xhh
91bae765ef Some fixes to Ruby docs on links and File parameter 2016-03-09 19:36:28 +08:00
xhh
a9042e2410 Ruby: add gitignore 2016-03-09 17:40:27 +08:00
xhh
2c64b885bb Ruby: add auto-generated documentation in Markdown 2016-03-09 17:18:15 +08:00
xhh
53d8a31bd3 Ruby client: update Petstore sample, fix model import 2016-03-04 15:41:27 +08:00
xhh
8e4f9fdc7c Add test cases for empty "object" type to Ruby Petstore
And fix the deserialization of empty "object" property
2016-03-03 20:36:15 +08:00
wing328
f68e93c662 better local variable naming for ruby, python and php 2016-02-28 11:48:14 +08:00
Tatsuki Sugiura
a442e1a60d ruby: Fix boolean convertion on json to model attribute.
Current code will converts boolean true of json to false
because ruby's boolean is not matched with any regex.
2016-02-10 15:06:31 +09:00
wing328
5a53814346 add api info as file header to ruby templates 2016-01-31 17:08:47 +08:00
Helge Rausch
f85f885191 Don't force explicit configuration of CA cert location
In order to allow openssl to figure out the location of CA certificates
on its own, don't apply the `ssl_ca_cert` configuration parameter if it
is not explicitly set.
2016-01-29 12:18:27 +01:00
xhh
172da5b2d8 Merge branch 'master' into ruby-binary
Conflicts:
	samples/client/petstore/ruby/lib/petstore/api/pet_api.rb
2016-01-29 12:02:30 +08:00
wing328
e4a991da0c add auto-generated test case for ruby 2016-01-26 23:15:02 +08:00