Changing url to align with the latest specs 65/11865/1
authornaman.gupta <naman.gupta@samsung.com>
Mon, 9 Oct 2023 11:15:18 +0000 (16:45 +0530)
committernaman.gupta <naman.gupta@samsung.com>
Mon, 9 Oct 2023 11:17:55 +0000 (16:47 +0530)
Changing url to align with the latest specification.

Change-Id: I2f71c507d5f8f51496f0788504020bb98264fd8e
Signed-off-by: naman.gupta <naman.gupta@samsung.com>
api/swagger.yaml

index 3214506..0c5daee 100644 (file)
@@ -3,7 +3,7 @@ info:
   version: 2.1.0
   title: RIC A1
 paths:
-  /a1-p/healthcheck:
+  /A1-P/v2/healthcheck:
     get:
       description: |
         Perform a healthcheck on a1
@@ -16,7 +16,7 @@ paths:
             A1 is healthy. Anything other than a 200 should be considered a1 as
             failing
       parameters: []
-  /a1-p/policytypes:
+  /A1-P/v2/policytypes:
     get:
       description: Get a list of all registered policy type ids
       tags:
@@ -40,7 +40,7 @@ paths:
       parameters: []
       produces:
         - application/json
-  '/a1-p/policytypes/{policy_type_id}':
+  '/A1-P/v2/policytypes/{policy_type_id}':
     parameters:
       - name: policy_type_id
         in: path
@@ -118,7 +118,7 @@ paths:
             $ref: '#/definitions/policy_type_schema'
       consumes:
         - application/json
-  '/a1-p/policytypes/{policy_type_id}/policies':
+  '/A1-P/v2/policytypes/{policy_type_id}/policies':
     parameters:
       - name: policy_type_id
         in: path
@@ -152,7 +152,7 @@ paths:
       parameters: []
       produces:
         - application/json
-  '/a1-p/policytypes/{policy_type_id}/policies/{policy_instance_id}':
+  '/A1-P/v2/policytypes/{policy_type_id}/policies/{policy_instance_id}':
     parameters:
       - name: policy_type_id
         in: path
@@ -250,7 +250,7 @@ paths:
               the policy type
       consumes:
         - application/json
-  '/a1-p/policytypes/{policy_type_id}/policies/{policy_instance_id}/status':
+  '/A1-P/v2/policytypes/{policy_type_id}/policies/{policy_instance_id}/status':
     parameters:
       - name: policy_type_id
         in: path