3 ms·
Cool, it certainly feels like there's some unrealized better way to describe APIs -- but the part that's more interesting for me is the codegen story? Or some w
by k8svet 3y ago
Cool, it certainly feels like there's some unrealized better way to describe APIs -- but the part that's more interesting for me is the codegen story? Or some way to validate the service I implemented is actually conformant?
I guess for now it translates to OpenAPI, but the footnote implies that TypeSpec-driven codegen could be better. Maybe more is coming soon?
- Petermarcu 3y agoThe author has an example repo demonstrating some of the early support for codegen. https://github.com/bterlson/typespec-todo https://github.com/bterlson/typespec-todo Server side codegen is also one the horizon and is a key way to keep the spec and service in sync. So many possibilities here!