Remix.run Logo
esafak 2 days ago

Which parts of Openapi does it fix?

speak_on 2 days ago | parent | next [-]

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 2 days ago | parent [-]

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

dcre 2 days ago | parent | prev | next [-]

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 a day ago | parent | prev [-]

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