summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/resources/pod_handlers.py
diff options
context:
space:
mode:
authorrohitsakala <rohitsakala@gmail.com>2017-01-03 22:38:38 +0530
committerRohit Sakala <rohitsakala@gmail.com>2017-01-04 09:07:25 +0000
commit03758419b54c28d13189f310a6de5e1815423ee5 (patch)
treefe76bcbf0ad20b276bfd7808ddc49ddc49cc6695 /utils/test/testapi/opnfv_testapi/resources/pod_handlers.py
parent0520eae9676a06946dee8545d8cae61f80648ce2 (diff)
Update nicknames in swagger spec
Swagger codegen uses nicknames for defining titles in the api documentation. Link - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md Change-Id: Ia35718b77dfcac53317384c4445225f28e505919 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
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