Change name to username

Hi, I am just not sure about this line
@Route("/hello/{username}", name="_hello", requirements={"username" = ".+"})
should it be the following or not?
@Route("/hello/{username}", username="_hello", requirements={"username" = ".+"})