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
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
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
801efaa3d4
Replace "nickname" with "operationId" in some API templates
2015-11-25 18:13:39 +08:00
xhh
76eeb51af6
Support collectionFormat in Ruby client
...
for header, query and form parameters
2015-11-05 20:02:09 +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
3de42afed3
Implement API client structure for Ruby client
2015-07-21 11:37:46 +08:00
xhh
66d16cfeaf
Validate parameter against allowed values (enum)
2015-07-03 16:46:23 +08:00
xhh
8c10e4f2b0
Remove unused code
2015-06-26 16:06:32 +08:00
xhh
3b6a3b4a38
Add logging for API call entry and result
2015-06-23 10:12:20 +08:00
xhh
4c8c6c3880
Rebuild Ruby Petstore sample
2015-06-12 20:18:50 +08:00
xhh
e38fc2c3da
Deserialize response for "object" type in Ruby client
2015-06-12 20:15:48 +08:00
wing328
5f6622c70d
rollback ruby template
2015-06-09 12:33:30 +08:00
Ron
1c2d0656b0
Code reformatting
2015-06-07 11:56:08 -04:00
xhh
623a1278cf
Add test case for API key auth
2015-05-29 11:57:46 +08:00
xhh
9cf4c66331
Update method returning value comment
2015-05-21 11:30:30 +08:00
xhh
4702285184
Correct indentation
2015-05-20 21:08:14 +08:00
xhh
dde73d592d
Return nil in Ruby clients for operations that have no response type defined
2015-05-20 21:06:42 +08:00
xhh
104bcc1f89
Organize generated Ruby code into a module
2015-05-20 09:23:43 +08:00
William Cheng
92a2011207
fix post model, update rspec
2015-05-17 23:38:51 +08:00
wing328
1f6a19b684
minor improvement to ruby api client accept and content-type header
2015-05-15 20:58:59 +08:00
wing328
47a8ef3031
fix required parameters in ruby
2015-04-30 17:01:36 +08:00
xhh
de21088619
Support optional body parameter
2015-04-16 18:20:36 +08:00
xhh
61bf7f49cc
Remove redundant blank lines
2015-04-16 15:56:08 +08:00
xhh
a819e4d523
Support optional parameters in Ruby client
...
* Pass optional parameters via the `opts` Hash
* Handle query parameters in a way similar to header/form parameters to
support parameter name normalization, e.g. the "additional_metadata"
key is passed for "additionalMetadata"
* Rename variables to be consistent: `query_params`, `header_params` and
`form_params`
* Remove unnecessary blank lines
2015-04-16 15:56:08 +08:00
William Cheng
9c5153e8c8
fix test cases
2015-04-06 18:52:30 +08:00
William Cheng
a717aba826
fixed path variable double uri-encoded issue
2015-04-06 18:52:30 +08:00
Tony Tam
15236ef376
updated ruby template
2015-04-04 17:45:22 -07:00
William Cheng
1c0cb7f884
fix syntax
2015-04-02 06:12:07 +08:00
William Cheng
bc24e5e290
update ruby accept header
2015-04-02 05:23:53 +08:00
William Cheng
bdd1d1621f
remove {{newLine}} and replace tab wtih 2 spaces
2015-03-27 23:55:26 +08:00
William Cheng
3d53cfc298
better ruby method argument format
2015-03-27 02:11:49 +08:00
William Cheng
fb2ab79455
update ruby doc
2015-03-27 02:11:49 +08:00
William Cheng
d0dcb2fb43
fix bug with ruby header parameter, remove extra linebreak in generated
...
code
2015-03-18 16:33:00 +08:00
William Cheng
fc9d632522
update ruby client to support form parameters, add PATCH support, update
...
ruby petstore client
2015-03-17 05:24:43 +08:00
Tony Tam
6bb2e4ccb4
moved to modules per #411
2015-02-05 07:17:38 -08:00