33 Commits

Author SHA1 Message Date
Ville Skyttä
b4c139f19b Spelling fixes 2016-08-27 02:34:33 +03:00
Cliffano Subagio
aba2d35a18 Fix unknown parameter on api_client's update_params_for_auth method. 2016-08-09 19:11:26 +10:00
Joel Meador
950fb43fdf fix spelling in ruby ApiClient: Configuraiton -> Configuration 2016-08-05 14:36:08 -04:00
wing328
785d1a5648 add option to set ssl host setting in ruby client 2016-07-04 22:13:25 +08:00
Cliffano Subagio
8bacbfb691 Only use Content-Disposition's filename as prefix when it exists. 2016-06-30 09:42:25 +10:00
Cliffano Subagio
af77d94750 [Ruby] Add params_encoding configuration to be passed to api_client's request options. 2016-06-28 15:22:34 +10:00
wing328
45e903b41b minor ruby code improvement 2016-04-09 17:47:21 +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
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
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
xhh
43c0d20743 Ruby client: add "timeout" to configuration 2015-12-24 14:54:39 +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
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
76eeb51af6 Support collectionFormat in Ruby client
for header, query and form parameters
2015-11-05 20:02:09 +08:00
geekerzp
6a3108a6bf Support client ceritficate in ruby client 2015-09-28 16:31:47 +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
geekerzp
6d58d44542 Merge branch 'ruby-api-client' into ruby-apiclient 2015-08-20 11:34:07 +08:00
xhh
0e2e7838ae Merge branch 'bug-fix-ruby-file-upload' into ruby-api-client
Conflicts:
	modules/swagger-codegen/src/main/resources/ruby/swagger/request.mustache
	samples/client/petstore/ruby/lib/petstore/swagger/request.rb
2015-08-20 11:24:33 +08:00
geekerzp
7be6e971fa Update api client of ruby client.
Update ApiClient#build_request, change `@verify_ssl`, `@ssl_ca_cert`, `@debugging`
to `Configuration.verify_ssl`, `Configuration.ssl_ca_cert`, `Configuration.debugging`.
2015-08-18 20:21:56 +08:00
geekerzp
828f8694c8 Fix typo in ruby client 2015-08-18 16:13:32 +08:00
geekerzp
a481db7486 Add configuration object in ruby client 2015-08-18 14:27:09 +08:00
xhh
47c8597d36 Ruby: move request/response logic to api_client 2015-07-27 16:34:51 +08:00
xhh
5bfae7b78c Ruby: use a default ApiClient when not provided 2015-07-27 10:32:51 +08:00
xhh
948cdb3a75 Done with API client structure for Ruby client 2015-07-22 15:37:29 +08:00
xhh
4ecc757bea More on API client structure for Ruby client 2015-07-21 17:07:41 +08:00