1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/...)
2. Rename the JAR as "openapi-generator.jar"
3. Run the following command to generate R SDK for Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-gener...):
Mac/Linux: - java -jar openapi-generator.jar generate -g r -i https://raw.githubusercontent.com/OpenAPITools/openapi-gener... -o /tmp/petstore/
Windows: - java -jar openapi-generator.jar generate -g r -i https://raw.githubusercontent.com/OpenAPITools/openapi-gener... -o C:\tmp\petstore
The auto-generated documentation (README.md, how to install, etc) can be found in the "docs" folder.
Please give it a try and let me know if you've any feedback/question.