data: fix swift endpoint type