3 ms·
Which parts of Openapi does it fix?
by esafak 7mo ago
Which parts of Openapi does it fix?
- speak_on 7mo agoLooking 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 7mo agoI would guess that is defined by the `@route` decorator.
- dcre 7mo agoIt’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 7mo agoOpen api is an exchange format, it quickly become to verbose and repetitive, it is only OK when auto generated and consumed by tooling.