Show Me the Schema! RPCs and Learning to Love Code Gen
Talkat CloudOpen @ Open Source Summit Europe 2022 · on Thursday, 2022-09-15· at 14:05· Wicklow Hall 2A (Level 2), Convention Centre Dublin, Spencer Dock, N Wall Quay, North Wall Dublin 1, D01 T1·
summary
A practical case study of fighting hand‑written clients: Copper had only an old JavaScript client and Postman examples, Postman → OpenAPI conversion yields untyped bodies so quicktype is used to generate Go structs but pagination and repeated copy‑paste force manual fixes. Twilio publishes a ~25,000‑line OpenAPI that successfully generates a generated Go client and works. A gRPC stable-diffusion demo shows protobufs generating multi-language clients. Tooling wins: buf CLI, connect, grpc-gateway; pain points: HTTP/2 trailers, browser support, brittle regen and breaking-change handling.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:07Eddie Zaneski
- 2:40Postman Collection
- 3:44Postman To Open Api
- 4:46Pagination
- 8:51Protobuf
- 9:03Apache Thrift
- 25:25Grpc Gateway
- 26:41Buff Cli
- 30:42Server Code
related talks
07mGRPC & Go
28mBuilding and Testing a gRPC API from Scratch: Unleash the Potential with Postman - W. Ian Douglas
34mGraphQL, tRPC, and your tech tool box
13mFrom Writing REST to Writing gRPC
43mTUTORIAL: We've "REST"ed long enough -- let's have an API adventure!
01h 15mREST, GraphQL, and gRPC: A Comparison
01h 00mThe Secrets to Smart, Flexible, Self Describing API
33mIntro to gRPC
