Please update the second rest route to include number support at the end of the slug. Here is the code:
register_rest_route( $this->namespace, '/menus/(?P<id>[a-zA-Z\d+(-]+)', array(
'methods' => \WP_REST_Server::READABLE,
'callback' => [$this, 'get_menu_data'],
) );
]]>