Hello Vietoohuqu46
That’s not perfect but okay, as long as the date of birth is correct. At least for the Swiss stretch there is no issue with it.
Next time, please book the ticket with all names stated in your passport. Names on e-tickets are required to clearly identify the traveller.
Kind regards,
Roland