zlacker

[return to "The Stainless SDK Generator"]
1. androa+uj[view] [source] 2024-04-24 18:08:35
>>brandu+(OP)
I've been using openapi-generator for this for quite some time. I love the principle, but find that their generators are not all top notch, and the template-based approach is very hard to contribute to.

One thing I do not see with Stainless is also using it to generate the server side of the API.

We use OpenAPI as a design doc, and generate client SDKs and Datos for the server from the same spec. This gives us pretty solid control over interoperability.

◧◩
2. Bjartr+Iv[view] [source] 2024-04-24 19:23:59
>>androa+uj
> their generators are not all top notch, and the template-based approach is very hard to contribute to.

I agree, I love them in theory, but wrangling mustache templates is a hassle. They end up super coupled to the code that populates them which makes them a bear to modify.

[go to top]