rest_api: add modules to setup.py

Fixes: #9047
Signed-off-by: Gregory Meno <gmeno@redhat.com>