From 87ab4d1e04ea5f9219cea6b2353c24c2149bb248 Mon Sep 17 00:00:00 2001 From: sunse Date: Wed, 16 Nov 2022 22:23:08 +0000 Subject: [PATCH 1/2] CR0232 Update TS28532_ProvMnS.yaml --- OpenAPI/TS28532_ProvMnS.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAPI/TS28532_ProvMnS.yaml b/OpenAPI/TS28532_ProvMnS.yaml index 979e81619..8254915a5 100644 --- a/OpenAPI/TS28532_ProvMnS.yaml +++ b/OpenAPI/TS28532_ProvMnS.yaml @@ -266,12 +266,12 @@ paths: schema: type: array items: - type: object + $ref: '#/components/schemas/PatchItem' application/3gpp-json-patch+json: schema: type: array items: - type: object + $ref: '#/components/schemas/PatchItem' responses: '200': description: >- -- GitLab From 62b84598da40dbdc3735fb54dd179d368e9c1efe Mon Sep 17 00:00:00 2001 From: sunse Date: Wed, 16 Nov 2022 22:31:44 +0000 Subject: [PATCH 2/2] CR0232 Update TS28532_ProvMnS.yaml --- OpenAPI/TS28532_ProvMnS.yaml | 69 ++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 26 deletions(-) diff --git a/OpenAPI/TS28532_ProvMnS.yaml b/OpenAPI/TS28532_ProvMnS.yaml index 8254915a5..524ed909a 100644 --- a/OpenAPI/TS28532_ProvMnS.yaml +++ b/OpenAPI/TS28532_ProvMnS.yaml @@ -352,18 +352,6 @@ paths: $ref: 'TS28623_ComDefs.yaml#/components/schemas/ErrorResponse' components: schemas: - CorrelatedNotification: - type: object - properties: - source: - $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn' - notificationIds: - type: array - items: - $ref: 'TS28623_ComDefs.yaml#/components/schemas/NotificationId' - required: - - source - - notificationIds CmNotificationTypes: type: string enum: @@ -378,27 +366,28 @@ components: - MANAGEMENT_OPERATION - SON_OPERATION - UNKNOWN + ScopeType: + type: string + enum: + - BASE_ONLY + - BASE_NTH_LEVEL + - BASE_SUBTREE + - BASE_ALL Operation: type: string enum: - CREATE - DELETE - REPLACE - ScopeType: + PatchOperation: type: string enum: - - BASE_ONLY - - BASE_NTH_LEVEL - - BASE_SUBTREE - - BASE_ALL - Scope: - type: object - properties: - scopeType: - $ref: '#/components/schemas/ScopeType' - scopeLevel: - type: integer - + - add + - replace + - remove + - copy + - move + - test Resource: oneOf: @@ -424,6 +413,25 @@ components: - $ref: 'TS28541_5GcNrm.yaml#/components/schemas/resources-5gcNrm' - $ref: 'TS28541_SliceNrm.yaml#/components/schemas/resources-sliceNrm' - $ref: 'TS28536_CoslaNrm.yaml#/components/schemas/resources-coslaNrm' + Scope: + type: object + properties: + scopeType: + $ref: '#/components/schemas/ScopeType' + scopeLevel: + type: integer + CorrelatedNotification: + type: object + properties: + source: + $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn' + notificationIds: + type: array + items: + $ref: 'TS28623_ComDefs.yaml#/components/schemas/NotificationId' + required: + - source + - notificationIds MoiChange: type: object @@ -446,7 +454,6 @@ components: oneOf: - $ref: 'TS28623_ComDefs.yaml#/components/schemas/AttributeNameValuePairSet' - $ref: 'TS28623_ComDefs.yaml#/components/schemas/AttributeValueChangeSet' - NotifyMoiCreation: allOf: - $ref: 'TS28623_ComDefs.yaml#/components/schemas/NotificationHeader' @@ -505,3 +512,13 @@ components: $ref: '#/components/schemas/MoiChange' required: - moiChanges + PatchItem: + type: object + properties: + op: + $ref: '#/components/schemas/PatchOperation' + from: + type: string + path: + type: string + value: {} -- GitLab