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
5d4c68b98a
new ruby file
2016-04-14 16:24:06 +08:00
wing328
8f70230906
update ruby test case
2016-04-14 16:19:39 +08:00
wing328
68cb030609
add new files for format test model
2016-04-11 22:11:53 +08:00
wing328
44a4219e3e
fix swift mapping with int and number
2016-04-11 19:37:56 +08:00
wing328
e3c73f5819
update ruby sample
2016-04-09 17:55:52 +08:00
wing328
074ae7e95d
update ruby sample
2016-04-09 17:47:45 +08:00
wing328
45e903b41b
minor ruby code improvement
2016-04-09 17:47:21 +08:00
wing328
eef07f4d84
add new files for perl, php, ruby
2016-03-30 22:38:53 +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
47bb5689d9
better hanlding of model name starting with number
2016-03-17 11:49:06 +08:00
wing328
7b31dabe77
fix perl, ruby auth doc in readme
2016-03-16 14:58:19 +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
a529d9dfe0
push new git_push and .gitinore file
2016-03-12 18:01:53 +08:00
wing328
637bdd2f50
add git_push and gitignore to most client generators
2016-03-12 17:35:25 +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
xhh
52c9d67025
Update petstore spec and fix tests
2016-02-25 12:20:17 +08:00
xhh
84c6b869f8
Ruby client: handle empty/reserved operation id
...
by using a normalized one instead of throwing errors
2016-02-25 11:48:30 +08:00
xhh
a21493f2db
Ruby: fix class name reference of nested model
...
and model name in underscore format, e.g. "my_response".
Closes #2140
2016-02-18 15:29:31 +08:00
Tatsuki Sugiura
0ea7ae1c16
ruby: Add test for boolean convertion.
2016-02-10 19:18:03 +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
8c19626095
Handle "binary" as String in Ruby client
...
as it seems weird to handle byte array (array of integer) in Ruby
2016-01-25 12:47:59 +08:00
xhh
aad0547b40
Ruby: support binary (byte array) for body parameter and response
2016-01-21 18:01:03 +08:00
xhh
521ba9924b
Add a method to sanitize filename, add test cases
2016-01-14 23:06:30 +08:00
xhh
ef8d2fd766
Ruby: IO improvements on file downloading
...
- Use `File.basename` to sanitize the filename got from response header
- Write to the `Tempfile` directly and return it
- Set file encoding according to the response body's encoding
See #1848
2016-01-12 11:59:41 +08:00
wing328
9ab27cd848
update reserved words for php and ruby to include local variable names
...
in api methods
2016-01-06 23:58:58 +08:00
xhh
670e56f692
Remove base_object from Ruby model
...
and move methods from base_object to each model so that model files will
have no dependency when generating "models only"
2015-12-28 17:42:33 +08:00
xhh
43c0d20743
Ruby client: add "timeout" to configuration
2015-12-24 14:54:39 +08:00
wing328
2a5b96dbcf
Merge pull request #1698 from xhh/ruby-config
...
Ruby client: allow setting Configuration in ApiClient
2015-12-14 15:14:08 +08:00
xhh
ddc4b0a548
Ruby: place properties on separate lines with description
2015-12-12 21:33:32 +08:00
xhh
e9ef143d8f
Ruby client: allow setting Configuration in ApiClient
...
Removed the singleton design from the Configuration class.
Added a `config` field to ApiClient to hold the settings the ApiClient
uses.
2015-12-10 15:25:07 +08:00
xhh
4fdaeb7371
Improve checking of JSON MIME
2015-12-09 12:38:38 +08:00
xhh
b896c9169a
Add comments to model classes in Ruby client
2015-12-09 11:30:48 +08:00
xhh
21bd4fbbc1
Add default value to Ruby model
2015-12-09 11:30:09 +08:00
xhh
07de03c09b
Return data before response status code and headers
2015-12-07 16:10:24 +08:00
xhh
66112d9eb5
Added with-http-info API methods to Ruby client
...
to allow accessing response status code and headers, and removed the methods of
recording last response info from ApiClient.
2015-12-07 15:48:59 +08:00