When creating a route to drive along, the route list the names recorded of the highways used.

But a route using footpaths that are part of the roading infrastructure the route list will say "unnamed" or similar.

Of course, where a walking route uses a named road, then of course, that route list will include the name of that road.