From 9dcf49ce143dc318442568dd3bb1250e453b437a Mon Sep 17 00:00:00 2001 From: "raviteja.karumuri" Date: Thu, 14 Sep 2023 12:38:49 +0100 Subject: Adding Schema reference in the API definition instead of declaring Object Type Issue-ID: CCSDK-3937 Signed-off-by: raviteja.karumuri Change-Id: Ic301c785a39a0f6d0e5057e67dc592eda01a3d0b --- a1-policy-management/api/pms-api.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'a1-policy-management/api/pms-api.yaml') 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: -- cgit 1.2.3-korg