From 6d13f166f2e3d1c357677ad6f37f6e35238aeac6 Mon Sep 17 00:00:00 2001 From: "Rishi.Chail" Date: Tue, 26 Jan 2021 05:58:39 +0000 Subject: Ensure CPS REST API Specs conform to ONAP standards Issue-ID: CPS-25 Signed-off-by: Rishi.Chail Change-Id: I17fec852cf2dcb824dfc0ab7f00ebe4cfd9e09b5 --- cps-rest/docs/api/swagger/openapi.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'cps-rest/docs/api/swagger/openapi.yml') diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml index 57a11027a..5b9e5f4b6 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: -- cgit 1.2.3-korg