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 |
|
xhh
|
7c60e2097f
|
Update API client initialization in Ruby test
|
2015-09-02 12:00:27 +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 |
|
xhh
|
2e3f94c2a5
|
Add file used in test: hello.txt
|
2015-08-20 11:18:05 +08:00 |
|
xhh
|
0d399d3f6a
|
Add spec for file uploading
|
2015-08-20 11:07:20 +08:00 |
|
xhh
|
030e45982c
|
Add back support of file uploading to Ruby client
|
2015-08-20 10:45:40 +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
|
31d948fc16
|
Update readme of ruby client
|
2015-08-18 14:35:54 +08:00 |
|
geekerzp
|
a481db7486
|
Add configuration object in ruby client
|
2015-08-18 14:27:09 +08:00 |
|
xhh
|
7af5db3565
|
Rebuild Ruby petstore sample
|
2015-07-27 16:37:26 +08:00 |
|
xhh
|
5bfae7b78c
|
Ruby: use a default ApiClient when not provided
|
2015-07-27 10:32:51 +08:00 |
|
xhh
|
a75b05b952
|
Update tests with latest code
|
2015-07-22 16:02:18 +08:00 |
|
xhh
|
609d915541
|
Rebuild Ruby petstore sample
|
2015-07-22 15:39:48 +08:00 |
|
xhh
|
822e640e0a
|
Merge branch 'develop_2.0' into ruby-debug
Conflicts:
modules/swagger-codegen/src/main/resources/ruby/swagger/configuration.mustache
modules/swagger-codegen/src/main/resources/ruby/swagger/request.mustache
samples/client/petstore/ruby/lib/petstore/swagger/request.rb
samples/client/petstore/ruby/lib/swagger_client.rb
samples/client/petstore/ruby/lib/swagger_client/swagger/configuration.rb
|
2015-07-14 12:33:17 +08:00 |
|
xhh
|
a51d71e728
|
Fix syntax error when there are no authMethods
|
2015-07-09 10:48:16 +08:00 |
|
xhh
|
a24fee00cb
|
Support primitive response in Ruby client
|
2015-07-08 16:46:31 +08:00 |
|
xhh
|
f42f329ace
|
Parse "date" as Date in Ruby client
|
2015-07-08 13:10:28 +08:00 |
|
xhh
|
66d16cfeaf
|
Validate parameter against allowed values (enum)
|
2015-07-03 16:46:23 +08:00 |
|
xhh
|
846d282ba0
|
Add helper methods for last response
|
2015-07-01 18:48:31 +08:00 |
|
xhh
|
6f1dd5ce35
|
Store last response in a thread-safe way
|
2015-07-01 17:37:16 +08:00 |
|
xhh
|
108b2241c0
|
Validate model property against allowed values (enum)
when present with attribute setters
|
2015-07-01 17:18:29 +08:00 |
|
xhh
|
1de6952279
|
Support customizing default headers via config option
for example:
config.default_headers['X-MY-HEADER'] = 'my-header-value'
|
2015-06-26 19:09:20 +08:00 |
|
xhh
|
fafddbf040
|
Fix naming in specs
|
2015-06-26 17:16:38 +08:00 |
|
xhh
|
d8b0cb739f
|
Add config file for bin/ruby-petstore.sh
to rename swagger_client to petstore
|
2015-06-26 17:15:14 +08:00 |
|
xhh
|
2d3d35cfd7
|
Rebuild Ruby petstore client
|
2015-06-26 16:37:58 +08:00 |
|