#jacobbednarz-SDK
1 messages · Page 1 of 1 (latest)
thanks, i'm more looking for how Stripe are going from OpenAPI => SDKs in terms of tooling, etc.
We have a bunch of SDKs in various languages, is that what you refer to? Sorry if I don't get it correctly
no problems 🙂 i'm after the behind-the-scenes type of work that goes into the SDKs. i see github.com/stripe/openapi is the schema but i can't find the repository or tooling that generates (for example) the Golang SDK. i know the library lives in stripe-go but that doesn't quite cover how it gets there in terms of things like templating the output or any modifications that happens before it is committed.
Ah I see what you mean
We open the OpenAPI and fed it into the stripe-mock repository. Many of our SDKs are test against stripe-mock, though I don't have a specific information of each SDK for you
But it seems the Go SDK is tested against stripe-mock
i assume you have custom templates for the generation?
(fwiw, the stuff there looks way nicer than the junk it generates by default)
and if so, are they available anywhere for viewing?
I am not super familiar with OpenAPI but we use internal tool to generate the OpenAPI spec. It's available here: https://github.com/stripe/openapi