Add swagger docs to namespaces endpoint