summaryrefslogtreecommitdiffstats
path: root/dovetail/api/swagger.yaml
blob: 5df0dcc2b6987db2de2e1b5d0b6602c1c416d007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
swagger: "2.0"
info:
  description: "This is the dovetail API."
  version: "1.0.0"
  title: "Dovetail API"
  contact:
    email: "xudan16@huawei.com"
  license:
    name: "Apache 2.0"
    url: "http://www.apache.org/licenses/LICENSE-2.0.html"
host: localhost:8888
basePath: "/api/v1/scenario/nfvi"
tags:
- name: "testsuites"
  description: "Operations about testsuites"
- name: "testcases"
  description: "Operations about test cases"
schemes:
- "http"
paths:
  /testsuites:
    get:
      tags:
      - "testsuites"
      summary: "Get all testsuites"
      description: ""
      operationId: "getTestsuites"
      consumes:
      - "application/json"
      produces:
      - "application/json"
      parameters: []
      responses:
        200:
          description: "successful operation"
        default:
          description: Unexpected error
  /testcases:
    get:
      tags:
      - "testcases"
      summary: "Get all test cases"
      description: ""
      operationId: "getTestcases"
      consumes:
      - "application/json"
      produces:
      - "application/json"
      parameters: []
      responses:
        200:
          description: "successful operation"
        default:
          description: Unexpected error