10 Commits

Author SHA1 Message Date
William Cheng
6b6403b2bf
enhance api exception in r client (#13046) 2022-07-31 16:20:39 +08:00
William Cheng
c905760898
fix query, header params (#13034) 2022-07-28 16:31:12 +08:00
William Cheng
20420e5e14
[R] add streaming support (#12821)
* add streaming option to r client

* support callback function to process data stream

* add stream test, minor bug fixes

* fix api client

* return void earlier if streaming, add tests
2022-07-11 00:19:07 +08:00
William Cheng
3feb11acbb
fix nested oneof, fix toStringJSON (#12723) 2022-06-28 23:43:56 +08:00
William Cheng
9522f6d1e2
add toString method in models (#12706) 2022-06-27 19:26:35 +08:00
William Cheng
e4b78dbbd8
[R] minify json in toJSON (#12699)
* minify json in toJSON

* update fromjson with better variable naming
2022-06-25 18:11:25 +08:00
William Cheng
7d768f2535
[R] add error object type support (#12402)
* use rlang as exception in the petstore test

* add errorObject support

* fix method name, use ModelApiRespeonse

* update samples

* update doc

* fix api exception
2022-06-23 13:45:05 +08:00
William Cheng
5db8cd0eff
fix toJSON, add tests (#12541) 2022-06-06 23:17:35 +08:00
William Cheng
6cd246931e
[R] add oneOf support (#12491)
* add oneof support

* add validateJson method

* add validteJSON and tests

* add tests, add oneOf logic

* better error message in validateJSON

* fix tests

* add test for error message

* remove unused code
2022-06-05 18:03:34 +08:00
William Cheng
f0ea10f239
Update R auto-generated doc (#12488)
* update r doc, tests

* add new files
2022-05-29 10:01:44 +08:00