summaryrefslogtreecommitdiffstats
path: root/functest/api/swagger/tier.yaml
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-09-12 07:37:19 +0000
committerMorgan Richomme <morgan.richomme@orange.com>2017-09-19 14:46:07 +0000
commit7683b977ee4b1c88b0876b4a18a1ae76aad6f8ab (patch)
treeb067d6b566d00b7220bc8244ce98082d0f276e73 /functest/api/swagger/tier.yaml
parent124a658f45154235af466d70cb8364ef4ab79a36 (diff)
Add swagger support for Rest API
JIRA: FUNCTEST-854 Change-Id: Ic010604d3ba0cc46092cf2a1ae8bb41afa73c920 Signed-off-by: Linda Wang <wangwulin@huawei.com> (cherry picked from commit b621b6b4b70299a60ad3e26ed6b04450f84b603e)
Diffstat (limited to 'functest/api/swagger/tier.yaml')
-rw-r--r--functest/api/swagger/tier.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/functest/api/swagger/tier.yaml b/functest/api/swagger/tier.yaml
new file mode 100644
index 000000000..8616afb5f
--- /dev/null
+++ b/functest/api/swagger/tier.yaml
@@ -0,0 +1,32 @@
+Show the info of one tier
+
+This api offers the interface to show the detailed info of one tier.
+The info of one tier will be returned.
+---
+tags:
+ - Tiers
+parameters:
+ - name: tier_name
+ description: tier name
+ in: path
+ type: string
+ required: true
+definitions:
+ Tiers:
+ type: object
+ properties:
+ creds_name:
+ $ref: '#/definitions/Name'
+ Name:
+ type: string
+responses:
+ 200:
+ description: Show the detailed info of one tier
+ schema:
+ $ref: '#/definitions/Tiers'
+ examples:
+ "tier": ""
+ "ci_loop": ""
+ "description": ""
+ "order":
+ "testcases": []