aboutsummaryrefslogtreecommitdiffstats
path: root/swagger_inventory.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'swagger_inventory.yaml')
-rw-r--r--swagger_inventory.yaml36
1 files changed, 18 insertions, 18 deletions
diff --git a/swagger_inventory.yaml b/swagger_inventory.yaml
index 11dbcbc..c18419c 100644
--- a/swagger_inventory.yaml
+++ b/swagger_inventory.yaml
@@ -1,6 +1,23 @@
+# ================================================================================
+# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=========================================================
+#
+# ECOMP is a trademark and service mark of AT&T Intellectual Property.
swagger: '2.0'
info:
- version: "2.1.0"
+ version: "3.0.0"
title: DCAE Inventory API
description: |
DCAE Inventory is a web service that provides the following:
@@ -225,14 +242,6 @@ paths:
description: "List of `DCAEService` objects"
schema:
$ref: "#/definitions/InlineResponse2001"
- 502:
- description: "Bad response from DCAE controller"
- schema:
- $ref: "#/definitions/ApiResponseMessage"
- 504:
- description: "Failed to connect with DCAE controller"
- schema:
- $ref: "#/definitions/ApiResponseMessage"
/dcae-services-groupby/{propertyName}:
get:
summary: ""
@@ -277,18 +286,10 @@ paths:
description: "Single `DCAEService` object"
schema:
$ref: "#/definitions/DCAEService"
- 502:
- description: "Bad response from DCAE controller"
- schema:
- $ref: "#/definitions/ApiResponseMessage"
404:
description: "DCAE service not found"
schema:
$ref: "#/definitions/ApiResponseMessage"
- 504:
- description: "Failed to connect with DCAE controller"
- schema:
- $ref: "#/definitions/ApiResponseMessage"
put:
summary: ""
description: "Put a new or update an existing `DCAEService` object."
@@ -408,7 +409,6 @@ definitions:
description: "Specifies the name of the underying source service that is responsible\
\ for this components"
enum:
- - "DCAEController"
- "DMaaPController"
shareable:
type: "integer"