cm_api icon indicating copy to clipboard operation
cm_api copied to clipboard

Ruby client

Open pburkholder opened this issue 10 years ago • 5 comments

A ruby client for the API would be great. Any work underway on that?

pburkholder avatar May 12 '15 16:05 pburkholder

I generated one last night..... (before I saw this issue). I've not as yet had a chance to test it much, but I converted the wadl to a swagger (OpenAPI) file, then used swagger-codegen to create a rubygem..

aetherical avatar Mar 30 '16 12:03 aetherical

The Ruby API client generated by Swagger Codegen (latest master) also comes with auto-generated documentation (markdown). Here is an example: https://github.com/wing328/petstore-ruby. Please let us know if you've any feedback via https://github.com/swagger-api/swagger-codegen/issues.

@aetherical do you mind sharing the swagger (openapi) file publicly via http://gist.github.com or other channel?

wing328 avatar Mar 30 '16 13:03 wing328

Happy to do so @wing328 -- it's already up in my fork: https://raw.githubusercontent.com/aetherical/cm_api/master/ruby/application.swagger.json

I haven't submitted a pull request as yet -- wanted to run some tests.

aetherical avatar Mar 30 '16 13:03 aetherical

Thanks Matt :)

wing328 avatar Mar 30 '16 13:03 wing328

My pleasure!

On March 30, 2016 9:34:31 AM EDT, wing328 [email protected] wrote:

Thanks Matt :)


You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/cloudera/cm_api/issues/29#issuecomment-203435578

Sent from my Android device with K-9 Mail. Please excuse my brevity.

aetherical avatar Mar 30 '16 14:03 aetherical