Write OpenAPI with TypeSpec
25 March 2024
TypeSpec,
OpenAPI
I've spent the last few years at Microsoft working on an API definition language called TypeSpec. It's essentially a super flexible protocol-agnostic DSL for describing API shapes. You can try it in your browser at the TypeSpec playground. Many things about it are exciting, but I want to talk about one thing in particular: why TypeSpec is the best way to write OpenAPI.
OpenAPI: the good and the not-so-good #
OpenAPI is pretty great at describing the low level deta...
Read more at blog.trl.sn