Fixed swagger documentation on legacy endpoint