AFAIK there is no option to import endpoints from swagger files yet in Mendix.
You'll need to implement this manually