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
wing328
81593bc4f6
add delay script, update CI test to run ruby test first
2016-02-12 18:46:19 +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
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
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
8ff488cc01
Fix Ruby tests of the Petstore sample
2016-01-20 14:47:03 +08:00
wing328
078f68a211
Merge pull request #1876 from xhh/file-downloading-fixes
...
File downloading improvements for Ruby and Java
2016-01-15 11:25:25 +08:00
xhh
521ba9924b
Add a method to sanitize filename, add test cases
2016-01-14 23:06:30 +08:00
xhh
637cae153c
Ruby: fix testing issue of deleting nonexistent pet
2016-01-12 18:12:54 +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
e3b5176792
Merge pull request #1831 from xhh/ruby-deserialize-test
...
Add test cases of nested array/map deserialization to Ruby petstore sample
2016-01-08 19:07:00 +08:00
xhh
0a3b72cdf9
Add test cases of nested array/map deserialization to Ruby
...
petstore sample
2016-01-08 10:47:08 +08:00
Elijah Miller
c0da950fce
Minimal update for Ruby testing on El Capitan.
2016-01-07 18:17:07 -05: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
4272e9c027
Add profiling script and results for Ruby Petstore sample
2015-12-11 23:24:19 +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
ba48f8712d
Add test case for the "json_mime?" method
2015-12-09 16:34:53 +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
xhh
0dac326230
Add "==", "eql?" and "hash" methods to Ruby client
2015-11-25 11:46:43 +08:00
xhh
76eeb51af6
Support collectionFormat in Ruby client
...
for header, query and form parameters
2015-11-05 20:02:09 +08:00
xhh
7813976d9b
Minor changes
2015-11-04 10:26:14 +08:00
xhh
18abc56688
Add tests for array and map property deserialization
2015-11-04 10:23:21 +08:00
xhh
abe44df1ec
Ruby: support map/hash in model deserialization with additionalProperties
...
For example, the "scoreMap" and "cateMap" properties below:
"definitions": {
"User": {
"properties": {
"scoreMap": {
"type": "object",
"additionalProperties": {
"type": "integer",
"format": "int32",
}
},
"cateMap": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Category"
}
}
}
}
}
2015-11-03 16:39:54 +08:00
xhh
1c3dc28c67
Add oauth support for Ruby client
2015-11-02 12:50:23 +08:00
xhh
dcec2e7b5d
Forgot to use _to_hash
for non-array value
2015-10-23 18:03:38 +08:00
xhh
940e76f45f
Ruby client: include empty arrays in model serialization
2015-10-23 17:08:12 +08:00
Tony Tam
10a9c62e2b
merged
2015-10-20 10:57:36 -07:00
Tony Tam
a21f08118e
rebuilt
2015-10-20 10:31:42 -07:00
wing328
90eab19305
Merge pull request #1401 from xhh/ruby-base-url-slashes
...
Ruby client: remove trailing slashes from base_url
2015-10-16 19:32:13 +08:00
xhh
e0dfc1b43d
Ruby client: remove trailing slashes from base_url
...
Closes #1399
2015-10-16 12:02:30 +08:00
xhh
a1fa0b0834
Rebuild Petstore samples
2015-10-16 10:47:00 +08:00
geekerzp
6a3108a6bf
Support client ceritficate in ruby client
2015-09-28 16:31:47 +08:00
geekerzp
c70ca9d572
Add test case in ruby client
2015-09-25 17:33:39 +08:00
wing328
f483b8dfa8
Merge pull request #1233 from geekerzp/ruby-apiclient
...
Fix issue that using temp_folder_path from ApiClient in ruby client
2015-09-15 22:28:54 +08:00
geekerzp
5d1e70544c
Fix issue that using temp_folder_path from ApiClient
...
It should use the one from the Configuration object
2015-09-15 15:04:39 +08:00