If you don’t want to show up all your routes in a routing table of a stub router, use the „no-summary“ command at the router next to the stub router.
If you have one router configured with the „area 1 stub“ command use the „area 1 stub no-summary“ command on the other router to just let a default router show up in the stub router.