some template engines do not know about async IO so create a helper for those.
incomplete swagger client