fixes swagger routes for namespaced controllers