You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are currently 3 clients for Collins - you have to roll your own even for Java.
If there was an OpenAPI document somewhere it could be used to generate clients in at least a dozen languages. Swagger Codegen being the example that would be most obvious.
The text was updated successfully, but these errors were encountered:
Currently the Go and ruby clients cover 99% of our use cases at Tumblr (that last % being straight curl calls) so we haven't looked in to codegen things much. Not saying that we shouldn't, but time is limited :)
OpenAPI does looks pretty cool though. Do you think it would fit the collins API well, which can be kinda unorthodox here and there.
There are definitely unorthodox bits to the Collins API. The uninitiated might even call them frustrating. :) I recently wrote a java client that mimics the Asset and AssetType part of the Go Client. Don't need the rest as of now so I'll get to that later.
Apparently you can use the Swagger Editor and just write out your contract in YAML. They are trying to make it like Thrift/Protobuf. Write out your contract ahead of time and then generate the Server Stubs and Clients. It does work. But the process of writing out the contract is probably pretty time consuming.
But just think, then you can finally have that Ada client. And Eiffel. And Lua. Its all about Lua now.
There are currently 3 clients for Collins - you have to roll your own even for Java.
If there was an OpenAPI document somewhere it could be used to generate clients in at least a dozen languages. Swagger Codegen being the example that would be most obvious.
The text was updated successfully, but these errors were encountered: