logoalt Hacker News

speak_onyesterday at 12:04 AM1 replyview on HN

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).


Replies

dcreyesterday at 12:26 AM

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