Jonas Emmert
6075b8a8f1
[R][Client] Fix api response, JSON for maps and let httr2 api client handle empty response bodies ( #18049 )
...
* changed files from rebuilding project and updating samples
* change default value of from_encoding to empty string
- from_encoding = NULL is invalid and produces an error, as only strings are allowed, see https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/iconv
- defaulting to an empty string fixes this issue
* fix map being surrounded by quotes in json
* allow httr2 client to deal with empty response body
* changed files from rebuilding project and updating samples
* added PetMap schema for test of correct map serialization in toJSONString and regenerated samples
2024-03-13 15:30:58 +08:00
Matt Pollock
1e17712f25
support binary response for R api client ( #17626 )
...
* support binary response for R api
* rework
* autogenerated samples
2024-01-23 16:28:37 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
6a631b4cc0
[R] add discriminator and mappings support ( #13529 )
...
* add discriminator property, mapping
* add discriminator, mapping support to R client generator
* add discriminator, mapping support to R client genrator httr library
2022-09-28 00:18:28 +08:00
William Cheng
f98753aa8b
[R] support explode (true/false) in query array parameters ( #13364 )
...
* fix query parameters (explode or not) in r client
* add tests
2022-09-07 12:21:13 +08:00
William Cheng
f0d8c3e735
fix query parameter in r client ( #13348 )
2022-09-05 03:44:22 +08:00
William Cheng
65d57a8bf1
[R] Add generateWrapper option ( #13198 )
...
* add generateWrapper option
* fix bug, add tests
* update doc
2022-08-17 15:05:57 +08:00
William Cheng
9e20b01b12
[R] allow oauth scopes customization, remove unused import ( #13179 )
...
* add oauth scopes, remove unused import
* fix null check
2022-08-14 22:50:36 +08:00
William Cheng
1f42b09b33
fix issues reported by roxygen in r client ( #13176 )
2022-08-13 12:23:49 +08:00
William Cheng
3c4948ac08
skip client id, secret validation to allow multiple auth schemas ( #13126 )
2022-08-08 01:39:07 +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
247574aa0c
fix assignment, clean up tests, use !!! operator ( #13075 )
2022-08-05 14:09:24 +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
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