summaryrefslogtreecommitdiffstats
path: root/cps-rest/docs/api/swagger/openapi.yml
diff options
context:
space:
mode:
authorRishi.Chail <rishi.chail@est.tech>2021-01-26 05:58:39 +0000
committerRishi.Chail <rishi.chail@est.tech>2021-01-26 14:48:17 +0000
commit6d13f166f2e3d1c357677ad6f37f6e35238aeac6 (patch)
tree7236fc2960141e2e20f06700b32e83a64ae849c5 /cps-rest/docs/api/swagger/openapi.yml
parentc7b1283b6a13a03cc36af57f6ec550a0b2adcb3c (diff)
Ensure CPS REST API Specs conform to ONAP standards
Issue-ID: CPS-25 Signed-off-by: Rishi.Chail <rishi.chail@est.tech> Change-Id: I17fec852cf2dcb824dfc0ab7f00ebe4cfd9e09b5
Diffstat (limited to 'cps-rest/docs/api/swagger/openapi.yml')
-rwxr-xr-xcps-rest/docs/api/swagger/openapi.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml
index 57a11027a4..5b9e5f4b6c 100755
--- a/cps-rest/docs/api/swagger/openapi.yml
+++ b/cps-rest/docs/api/swagger/openapi.yml
@@ -3,11 +3,11 @@ info:
title: ONAP Open API v3 Configuration Persistence Service
description: Configuration Persistence Service is a Model Driven Generic Database
version: "1.0.0"
- contact:
+ contact:
name: ONAP
url: "https://onap.readthedocs.io"
email: "onap-discuss@lists.onap.org"
- license:
+ license:
name: "Apache 2.0"
url: "http://www.apache.org/licenses/LICENSE-2.0"
x-planned-retirement-date: "202212"
@@ -16,15 +16,18 @@ info:
url: "cps_logo.png"
servers:
- - url: //localhost:8088/
+ - url: //localhost:8088
tags:
- - name: cps-rest
- description: cps Resource
+ - name: cps-admin
+ description: cps Admin
+ - name: cps-data
+ description: cps Data
paths:
+
/v1/dataspaces:
$ref: 'cpsAdmin.yml#/dataspace'
- /v1/dataspaces/{dataspace-name}/:
+ /v1/dataspaces/{dataspace-name}:
$ref: 'cpsAdmin.yml#/dataspaceByDataspaceName'
/v1/dataspaces/{dataspace-name}/anchors: