zlacker

[return to "The Stainless SDK Generator"]
1. kmlx+X9[view] [source] 2024-04-24 17:16:44
>>brandu+(OP)
what’s the difference between this and https://github.com/deepmap/oapi-codegen
◧◩
2. rattra+sa[view] [source] 2024-04-24 17:19:55
>>kmlx+X9
oapi-codegen looks pretty cool (it seems I starred it some time ago) but for starters, it's Go only. Stainless does a bunch of languages with more on the way.

You can see an example of the Go code Stainless produces here: https://github.com/cloudflare/cloudflare-go

(I'm the Stainless founder)

◧◩◪
3. itslen+6n[view] [source] 2024-04-24 18:31:07
>>rattra+sa
That one only does Go, but it is just one of many OpenAPI generators. I used openapi-generator and was able to produce SDKs for TypeScript (angular and node), Dart (Flutter), Kotlin (andoird), and Swift (iOS). They worked great for our purposes and I really had no complaints or issues.

I guess my question is, what is the key differentiator that Stainless offers above just using OpenAPI and its huge library of existing generators?

https://github.com/OpenAPITools/openapi-generator

[go to top]