summaryrefslogtreecommitdiffstats
path: root/a1-policy-management/api
diff options
context:
space:
mode:
authorraviteja.karumuri <raviteja.karumuri@est.tech>2023-09-14 12:38:49 +0100
committerraviteja.karumuri <raviteja.karumuri@est.tech>2023-10-16 10:39:20 +0100
commit9dcf49ce143dc318442568dd3bb1250e453b437a (patch)
tree2a9b3dc8a155e9244d788cea7bc4eb21a25aeab3 /a1-policy-management/api
parent7ff7a43d664bbba016aab7c571846faec8088865 (diff)
Adding Schema reference in the API definition instead of declaring Object Type
Issue-ID: CCSDK-3937 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ic301c785a39a0f6d0e5057e67dc592eda01a3d0b
Diffstat (limited to 'a1-policy-management/api')
-rw-r--r--a1-policy-management/api/pms-api.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/a1-policy-management/api/pms-api.yaml b/a1-policy-management/api/pms-api.yaml
index 3633bcac..76176e5a 100644
--- a/a1-policy-management/api/pms-api.yaml
+++ b/a1-policy-management/api/pms-api.yaml
@@ -112,7 +112,7 @@ paths:
policy_info_list:
$ref: '#/components/examples/policy_info_list'
schema:
- type: object
+ $ref: '#/components/schemas/policy_info_list'
description: Policies
"404":
content:
@@ -173,7 +173,7 @@ paths:
content:
application/json:
schema:
- type: object
+ $ref: '#/components/schemas/status_info'
examples:
status_info:
$ref: '#/components/examples/status_info'
@@ -248,7 +248,7 @@ paths:
content:
application/json:
schema:
- type: object
+ $ref: '#/components/schemas/ric_info'
examples:
ric_info:
$ref: '#/components/examples/ric_info'
@@ -321,7 +321,7 @@ paths:
policy_type_id_list:
$ref: '#/components/examples/policy_type_id_list'
schema:
- type: object
+ $ref: '#/components/schemas/policy_type_id_list'
description: Policy type IDs
"404":
content:
@@ -386,7 +386,7 @@ paths:
content:
application/json:
schema:
- type: object
+ $ref: '#/components/schemas/policy_info'
examples:
policy_info:
$ref: '#/components/examples/policy_info'
@@ -435,7 +435,7 @@ paths:
content:
application/json:
schema:
- type: object
+ type: string
description: Configuration
"404":
content:
@@ -639,7 +639,7 @@ paths:
content:
application/json:
schema:
- type: object
+ $ref: '#/components/schemas/ric_info_list'
examples:
ric_info_list:
$ref: '#/components/examples/ric_info_list'
@@ -672,7 +672,7 @@ paths:
content:
application/json:
schema:
- type: object
+ $ref: '#/components/schemas/service_status_list'
examples:
service_status_list:
$ref: '#/components/examples/service_status_list'
@@ -769,7 +769,7 @@ paths:
content:
application/json:
schema:
- type: object
+ $ref: '#/components/schemas/policy_type_definition'
examples:
policy_type_definition:
$ref: '#/components/examples/policy_type_definition'
@@ -863,7 +863,7 @@ paths:
policy_id_list:
$ref: '#/components/examples/policy_id_list'
schema:
- type: object
+ $ref: '#/components/schemas/policy_id_list'
description: Policy identities
"404":
content:
@@ -995,7 +995,7 @@ paths:
policy_status_info:
$ref: '#/components/examples/policy_status_info'
schema:
- type: object
+ $ref: '#/components/schemas/policy_status_info'
description: Policy status
"404":
content: