Thanks a lot!
So, for my understanding, I stil need to wire this on the server side like this right:
let app = Fastify.make()
app->Fastify.route(Contract.getPosts, async ({input}) => {
// Implementation where return type is promise<'response>
})
let _ = app->Fastify.listen({port: 3000})