diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-03-28 01:45:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-28 01:45:00 +0000 |
commit | 4fda4a5819fda210ed824c504d4bed1751f8f51a (patch) | |
tree | 892ca5677b8a0989a8a87ee0db99d19da11cf001 /qtip/api/swagger | |
parent | 686c7023613491a99c8e2ada758edb720655a6e6 (diff) | |
parent | 7d69a1eae658fae6c7437e0a8316312cb625acb5 (diff) |
Merge "Add unit tests for List and get in API." into stable/danube
Diffstat (limited to 'qtip/api/swagger')
-rw-r--r-- | qtip/api/swagger/swagger.yaml | 64 |
1 files changed, 18 insertions, 46 deletions
diff --git a/qtip/api/swagger/swagger.yaml b/qtip/api/swagger/swagger.yaml index c2de2d68..51c3ebb8 100644 --- a/qtip/api/swagger/swagger.yaml +++ b/qtip/api/swagger/swagger.yaml @@ -212,7 +212,7 @@ paths: schema: $ref: '#/definitions/Error' definitions: - PlanContent: + Plan: type: object required: - name @@ -232,23 +232,13 @@ definitions: Plans: type: object required: - - name - - abspath + - plans properties: - name: - type: string - abspath: - type: string - Plan: - allOf: - - $ref: '#/definitions/Plans' - - type: object - - required: - - content - properties: - content: - $ref: '#/definitions/PlanContent' - MetricContent: + plans: + type: array + items: + type: string + Metric: type: object required: - name @@ -268,22 +258,13 @@ definitions: Metrics: type: object required: - - name - - abspath + - metrics properties: - name: - type: string - abspath: - type: string - Metric: - allOf: - - $ref: '#/definitions/Metrics' - - required: - - content - properties: - content: - $ref: '#/definitions/MetricContent' - QPIContent: + metrics: + type: array + items: + type: string + QPI: type: object required: - name @@ -301,21 +282,12 @@ definitions: QPIs: type: object required: - - name - - abspath + - qpis properties: - name: - type: string - abspath: - type: string - QPI: - allOf: - - $ref: '#/definitions/QPIs' - - required: - - content - properties: - content: - $ref: '#/definitions/QPIContent' + qpis: + type: array + items: + type: string Error: type: object properties: |