Declare your Ktor API in code shared between your clients and servers