by esafak 4 days ago

Which parts of Openapi does it fix?

speak_on 4 days ago | [-1 more]

Looking at the first example - it's far less verbose. Although, seems to be suspiciously minimal, so I can't even tell from a single .tsp route definition what response content type to expect (application/json is the default most likely).

dcre 4 days ago | [-0 more]

I would guess that is defined by the `@route` decorator.

dcre 4 days ago | [-0 more]

It’s actually human-readable, it has generics, it supports sum and product types in a much more natural way. There’s a lot more, that’s just off the top of my head.

hokkos 3 days ago | [-0 more]

Open api is an exchange format, it quickly become to verbose and repetitive, it is only OK when auto generated and consumed by tooling.