William Cheng
fb29284a99
improve r regular expression handling ( #13125 )
2022-08-08 00:56:43 +08:00
William Cheng
f287dde875
[R][httr2] better support for OAuth authoriziation flows ( #13123 )
...
* better oauth support in r client
* better comment
* update samples
* remove commented code
* update samples
* fix mustache tag
2022-08-07 21:49:04 +08:00
William Cheng
d3a268924f
better validation for r parameters ( #13119 )
2022-08-06 21:06:39 +08:00
William Cheng
f5900c7015
[R] fix auto-generated doc, add checks for bearer/access token ( #13112 )
...
* update readme to show bearer auth
* fix doc
* fix doc
2022-08-06 16:32:18 +08:00
William Cheng
13d34b9b63
[R][httr2] Fix form parameter support ( #13057 )
...
* fix form parameter support in the r client
* fix query param
* fix form parameters
2022-08-03 23:45:12 +08:00
William Cheng
aa1f6276f3
[R][httr2] fix HTTP header ( #13066 )
...
* add test for header parameters
* fix header parameter in r httr2 client
2022-08-03 15:05:39 +08:00
William Cheng
d8771de9c1
fix query param, fix spec ( #13065 )
2022-08-03 11:49:34 +08:00
William Cheng
4635dda518
[R] Add httr2 support (work in progress) ( #13005 )
...
* add httr2 support to r client gen
* fix headers
* add accepts, content-types
* update samples
* fix req
* update samples
* various fixes
* add data file test
* fix streaming, add tests
2022-08-01 00:58:19 +08:00
William Cheng
6b6403b2bf
enhance api exception in r client ( #13046 )
2022-07-31 16:20:39 +08:00
William Cheng
054264df90
[R] refactor the client to prepare additional HTTP library support ( #13045 )
...
* remove httr functions from api files
* fix comments
2022-07-31 10:52:57 +08:00
William Cheng
e5e4e8fc07
throw exception if username, password is not set in http auth in r client ( #13035 )
2022-07-28 17:06:52 +08:00
William Cheng
c905760898
fix query, header params ( #13034 )
2022-07-28 16:31:12 +08:00
William Cheng
e811d6bbe2
prefix local variables in api functions in r client ( #13018 )
2022-07-26 19:20:23 +08:00
William Cheng
adf7062e63
add support for accept, content-type headers in r client ( #13017 )
2022-07-26 17:19:23 +08:00
William Cheng
e4b268613c
[R] fix assignment, better doc ( #12979 )
...
* better code format
* fix doc comment, remove blank line
* ignore .lintr in rbuildignore
2022-07-22 13:08:01 +08:00
William Cheng
6e6c2f9a0e
add http basic test in r client ( #12978 )
2022-07-22 10:01:48 +08:00
William Cheng
f26985c239
add http bearer auth support to R client ( #12974 )
2022-07-22 09:44:05 +08:00
William Cheng
c26e19cbc0
Revert "Add support for string response deserialization ( #12910 )"
...
This reverts commit b8524bee232a55e28693354ab543b91e3f65629a.
2022-07-21 12:58:46 +08:00
Emanuele Saccomandi
b8524bee23
Add support for string response deserialization ( #12910 )
...
* Add support for string response deserialization
* updated samples
* updated samples
* realigned to master
* fix: errors were not getting thrown
* updated samples
* fix: errors were not getting thrown
* updated samples
2022-07-21 12:45:50 +08:00
William Cheng
eb471db7c9
[R] fix a couple warnings reported by lintr ( #12903 )
...
* better code format in r client
* update code based on lintr
* update samples
2022-07-17 23:49:37 +08:00
William Cheng
e05b9746ea
[R] Add lintr ( #12902 )
...
* add lintr
* update samples
2022-07-17 17:29:05 +08:00
William Cheng
40c87e125c
fix stream_callback doc ( #12879 )
2022-07-16 16:33:41 +08:00
William Cheng
ed6280b0f7
add roxygen2 to workflow ( #12880 )
2022-07-16 16:33:23 +08:00
William Cheng
a3269a0569
Add R GitHub action file ( #12868 )
...
* fix travis, update rbuildignore
* add comment
2022-07-15 15:31:22 +08:00
William Cheng
28b74d79cb
remove unused import in r package ( #12867 )
2022-07-14 16:23:02 +08:00
William Cheng
4dfac192f8
fix warning in rdoc due to missing @param ( #12865 )
2022-07-14 15:41:56 +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
6cae0fbb78
Merge remote-tracking branch 'origin/6.1.x'
2022-07-04 01:22:51 +08:00
William Cheng
9e412edb64
Prepare 6.0.1 release ( #12762 )
...
* update to v6.0.1
* update doc
* update samples
2022-07-03 23:36:46 +08:00
William Cheng
f1dd44d70c
add tests for item with special characters ( #12757 )
2022-07-03 17:26:12 +08:00
William Cheng
08108cc4ba
add tests for nested oneOf fromJSONString ( #12740 )
2022-06-30 23:08:49 +08:00
William Cheng
0232d1cd00
add toString method to oneOf/anyOf objects ( #12727 )
2022-06-29 11:01:56 +08:00
William Cheng
3feb11acbb
fix nested oneof, fix toStringJSON ( #12723 )
2022-06-28 23:43:56 +08:00
William Cheng
5cb66a8ab0
[R] Fix empty variable name, fix post process model ( #12708 )
...
* fix empty variable name, fix post process model
* fix empty base name
2022-06-27 19:26:51 +08:00
William Cheng
9522f6d1e2
add toString method in models ( #12706 )
2022-06-27 19:26:35 +08:00
William Cheng
726765af50
improve r documentation, readme, code sample ( #12700 )
2022-06-26 15:15:22 +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
f5e701c459
update r api doc ( #12679 )
2022-06-24 10:39:48 +08:00
William Cheng
c3970d7348
update r model doc ( #12676 )
2022-06-23 20:47:12 +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
012f90895f
add doc to api exception, response object in R client ( #12659 )
2022-06-22 16:47:27 +08:00
William Cheng
a599ae927f
fix deserialization for r model with special item name ( #12658 )
2022-06-22 15:06:56 +08:00
William Cheng
f2cc3b8611
fix roxygen warnings in oneof, anyof, api_client ( #12654 )
2022-06-21 16:35:24 +08:00
William Cheng
042f717352
[R] escape item reserved words in model items ( #12653 )
...
* fix item reserved words
* add comment
* add log
2022-06-21 11:42:27 +08:00
William Cheng
1f7a49539f
update roxygen to newer version ( #12652 )
2022-06-21 09:59:18 +08:00
William Cheng
f29fdab33d
update constructor for r oneof, anyof objects ( #12643 )
2022-06-21 09:25:54 +08:00
William Cheng
c26ac3f8a3
add documentations to r oneof, anyof ( #12638 )
2022-06-19 23:19:55 +08:00
William Cheng
bd6617b3e7
Better null check for encoding ( #12597 )
...
* better null check for encoding
* add tests
* update samples
2022-06-15 15:49:30 +08:00
William Cheng
14aef2c93d
[R] Add validateJSON to oneOf, anyOf models ( #12548 )
...
* add validateJSON to r oneof, anyof models
* update tests
2022-06-08 00:35:40 +08:00
William Cheng
4fbe1e9115
[R] add anyOf support ( #12544 )
...
* add anyOf support
* add anyOf support to r client generator
2022-06-07 10:05:34 +08:00