by ndimares on 9/27/2022, 2:05:40 PM
There is a lot of activity in the space of SDK generators. If you have an OpenAPI schema, you should be able to find tooling that can get you 80% of the way there. Here's a small app our team put together a couple weeks ago that you might like: https://easysdk.xyz/
We've expanded support for Python and Go since we made this. If you're interested in testing out the multi-language version, let me know!
Some other solutions: -OpenAPI: http://github.com/openapitools/openapi-generator -(language specific) Go SDK: https://github.com/deepmap/oapi-codegen
Best of luck with finding a solution that works for your use case!
by wing328hk on 9/23/2022, 2:27:42 AM
One way is to auto-generate SDKs using OpenAPI Generator (http://github.com/openapitools/openapi-generator) given an OpenAPI spec.
At work, I find myself writing a Python/Go/JS SDK for every single internal API that I implement. This might even be more prevalent for public facing APIs since creating/maintaining public API SDKs for popular languages are table stakes for usage.
- Has this generally been true in your experience as well?
- If so, are there any hacks to create these SDKs with support for best practices like pagination, retry, etc + update them them when the API changes?