Boil spaghetti noodles in salted water.
Heat olive oil in a pan and sauté minced garlic.
Add the boiled noodles to the pan, then stir-fry with soy sauce and mirin.
Turn off the heat and mix in the mayonnaise.
Transfer to a bowl and sprinkle with black pepper and chopped green onions.