Show HN: Auto-Generate R SDK for REST APIs Using OpenAPI Generator https://ift.tt/2UVqkg2

Show HN: Auto-Generate R SDK for REST APIs Using OpenAPI Generator To generate R SDK or API client for REST API, one can easily do so with the help of OpenAPI Generator ( https://ift.tt/2jT806l ). Here are 3 steps to generate the SDK/client: 1. Download the Java JAR ( https://ift.tt/2uAOiBT... ) 2. Rename the JAR as "openapi-generator.jar" 3. Run the following command to generate R SDK for Petstore API ( https://ift.tt/2HSkbxo... ): Mac/Linux: - java -jar openapi-generator.jar generate -g r -i https://ift.tt/2HSkbxo... -o /tmp/petstore/ Windows: - java -jar openapi-generator.jar generate -g r -i https://ift.tt/2HSkbxo... -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. March 25, 2019 at 03:27PM

Komentáře

Oblíbené příspěvky