use nameless types for endpoint request/response