I've been playing around with OpenAPI Generator to generate R API clients?
brew install openapi-generator
openapi-generator generate -g r -i https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml -o ~/R/petstore
Surprisingly it comes with auto-generated documentations (readme, code example, etc)
Anyone used this approach before instead of manually writing the API clients in R? Any caveats using the auto-generated R package?