summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/resources/pod_handlers.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-01-04 13:01:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-04 13:01:17 +0000
commit7aeefe4aa6315c2ad5aea8e0e1bf4d33f34c17d9 (patch)
tree493ac0b64fee419298c1b09ec607a494a1dc98c1 /utils/test/testapi/opnfv_testapi/resources/pod_handlers.py
parentb03a3bca08d7f7d11d84561968dadf744abf264c (diff)
parent03758419b54c28d13189f310a6de5e1815423ee5 (diff)
Merge "Update nicknames in swagger spec"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/resources/pod_handlers.py')
-rw-r--r--utils/test/testapi/opnfv_testapi/resources/pod_handlers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/test/testapi/opnfv_testapi/resources/pod_handlers.py b/utils/test/testapi/opnfv_testapi/resources/pod_handlers.py
index 8f44439e7..631d4a91d 100644
--- a/utils/test/testapi/opnfv_testapi/resources/pod_handlers.py
+++ b/utils/test/testapi/opnfv_testapi/resources/pod_handlers.py
@@ -20,7 +20,7 @@ class GenericPodHandler(GenericApiHandler):
class PodCLHandler(GenericPodHandler):
- @swagger.operation(nickname='list-all')
+ @swagger.operation(nickname='List all Pods')
def get(self):
"""
@description: list all pods
@@ -29,7 +29,7 @@ class PodCLHandler(GenericPodHandler):
"""
self._list()
- @swagger.operation(nickname='create')
+ @swagger.operation(nickname='Create a Pod')
def post(self):
"""
@description: create a pod
@@ -54,7 +54,7 @@ class PodCLHandler(GenericPodHandler):
class PodGURHandler(GenericPodHandler):
- @swagger.operation(nickname='get-one')
+ @swagger.operation(nickname='Get a Pod by pod_name')
def get(self, pod_name):
"""
@description: get a single pod by pod_name