Skip to main content

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 04:27AM

Comments

Popular posts from this blog

Launch HN: Simmer (YC W19) – Reviews for Delivery Dishes https://ift.tt/2Y4sD67

Launch HN: Simmer (YC W19) – Reviews for Delivery Dishes Hi HackerNews community! We’re Vaibhav and Richard, founders of Simmer ( https://usesimmer.com ). Simmer aggregates dishes from DoorDash, Caviar, GrubHub, and basically every other delivery platform out there, and tells users the best dishes across the board. We do this by providing dish-level reviews. Users find highly reviewed dishes on Simmer, choose the delivery platform of their liking, and we deep link them into their chosen delivery app. We essentially lead gen to delivery. We started working on Simmer because we loved trying new restaurants, but never knew what to order. Especially, when there’s a 5 page menu. We always asked ourselves, “Why aren’t there ratings for individual dishes?” We launched our app with this restaurant-centric use case (reviews for every dish at every restaurant), but when we rolled out delivery integrations, we realized that users resonated most with the delivery angle. They found it particularly ...