Better APIs with Shareable Validation Logic
summary
CUE is used as a middle layer to convert between Go, OpenAPI and JSON Schema, merge schemas deterministically and surface conflicts as errors; conversions from protobuf and CRD composition are demonstrated with the Istio pipeline. A small toolchain extracts validation logic from Go via SSA, generates CUE, and emits OpenAPI; extraction yields 100% detection of validation sites and ~90% coverage of error paths in the demo. Live merges use the CUE unification engine and show failing merges for incompatible constraints.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 2:20Shareable Validation Logic
- 5:40Queue
- 9:13Demo
- 13:10Source of truth
- 17:35Shareable QA
- 20:28Results
- 22:50Questions
related talks
26mUsing OpenAPI to configure your API Gateway
32mThe little schema that could (...but should it?)
24mAugmented API Design Review with OpenAPI and Spectral
36mSIG API Machinery Deep Dive
06mGSoC: Visualise your defined EDA using Cupid
30mSimplifying API Review - A Tool Based Approach for Kubernetes and Beyond
25mFrom Guesswork to Governance: Bringing API Discipline to Data Streaming
26mBuilding APIs for Developers & Machines
