summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/restful/api/doc.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/restful/api/doc.py')
-rw-r--r--src/pybind/mgr/restful/api/doc.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/pybind/mgr/restful/api/doc.py b/src/pybind/mgr/restful/api/doc.py
deleted file mode 100644
index f1038c21b16..00000000000
--- a/src/pybind/mgr/restful/api/doc.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from pecan import expose
-from pecan.rest import RestController
-
-from restful import context
-
-import restful
-
-
-class Doc(RestController):
- @expose(template='json')
- def get(self, **kwargs):
- """
- Show documentation information
- """
- return context.instance.get_doc_api(restful.api.Root)