Re:Write OpenAPI with TypeSpec
by Petermarcu on Wednesday March 27, 2024 @03:04PM
(#39843271)
The author has an example repo demonstrating some of the early support for codegen. 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!
I guess for now it translates to OpenAPI, but the footnote implies that TypeSpec-driven codegen could be better. Maybe more is coming soon?