~/talk

Boutique machine generated gems

Talkat RubyConf 2022 · 2022-11-29..12-01· [developer-experience, ruby]
name:CJ Avilla
links:none on file
slides:none on file

Stripe automates Ruby gem generation from an OpenAPI spec instead of hand-editing seven SDKs, replacing 30,000‑line files and 2,000 model stubs with a generator that saves hundreds of engineering hours per year. It compares off‑the‑shelf Swagger codegen (messy templates) to a React‑style renderer called prettier poet that prints idiomatic Ruby, multiple languages, validated snippets, changelogs and docs — a working pipeline already driving documentation and releases.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Writing SDKs by hand
  3. 3:52Stripe Ruby SDK evolution
  4. 6:44Automating SDK generation with Cogen
  5. 7:26New SDK pipeline requirements
  6. 8:28Challenges with Swagger codegen
  7. 13:48Prettier Poet for code generation
  8. 15:54Live demo of Prettier Poet
  9. 21:54Multi-language docs snippets
  10. 26:52Sinatra and Express routes
  11. 28:37Generated code in Stripe docs
  12. 30:23Benefits of new tooling
  13. 31:28Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.