Commit ed569f63 authored by sunse's avatar sunse
Browse files

Merge branch...

Merge branch 'TS28.532_Rel-16_CR0232_Add_missing_definition_of_the_JSON_Patch_document' into 'Integration_Rel16_SA5_146_YAML'

Ts28.532 rel 16 cr0232 add missing definition of the json patch document

See merge request sa5/MnS!489
parents e3a29b45 35992100
Loading
Loading
Loading
Loading
+45 −28
Original line number Diff line number Diff line
@@ -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: >-
@@ -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: {}