Add swagger support for Rest API
[functest.git] / functest / api / swagger / testcases_in_tier.yaml
1 List all testcases within given tier
2
3 This api offers the interface to list all testcases within given tier.
4 All testcases within given tier will be returned.
5 ---
6 tags:
7   - Tiers
8 parameters:
9   - name: tier_name
10     description: tier name
11     in: path
12     type: string
13     required: true
14 definitions:
15   Testcases:
16     type: object
17     properties:
18       creds_name:
19           $ref: '#/definitions/Tests'
20   Tests:
21     type: dict
22 responses:
23   200:
24     description: List all testcases within given tier
25     schema:
26       $ref: '#/definitions/Testcases'
27     examples:
28         "tier": ""
29         "testcases": []