Commit f08c9b91 authored by ruiyue's avatar ruiyue
Browse files

Replace TS28532_ProvMnS.yaml with the latest yaml file from R17 branch

parent 60f37025
Loading
Loading
Loading
Loading
Loading
+70 −72
Original line number Diff line number Diff line
openapi: 3.0.1
info:
  title: Provisioning MnS
  version: 17.1.0
  version: 17.2.0
  description: >-
    OAS 3.0.1 definition of the Provisioning MnS
    © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    All rights reserved.
externalDocs:
  description: 3GPP TS 28.532; Generic management services
@@ -237,6 +237,14 @@ paths:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
            application/vnd.3gpp.object-tree-hierarchical+json:
              schema:
                $ref: '#/components/schemas/Resource'
            application/vnd.3gpp.object-tree-flat+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Resource'
        default:
          description: Error case.
          content:
@@ -269,12 +277,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: >-
@@ -301,52 +309,16 @@ paths:
              schema:
                $ref: 'TS28623_ComDefs.yaml#/components/schemas/ErrorResponse'
    delete:
      summary: Deletes one or multiple resources
      summary: Deletes one resource
      description: >-
        With HTTP DELETE resources are deleted. The resources to be deleted are
        With HTTP DELETE one resource is deleted. The resources to be deleted is
        identified with the target URI.
      parameters:
        - name: scope
          in: query
          description: >-
            This parameter extends the set of targeted resources beyond the base
            resource identified with the path component of the URI. No scoping
            mechanism is specified in the present document.
          required: false
          schema:
            $ref: '#/components/schemas/Scope'
          style: form
          explode: true
        - name: filter
          in: query
          description: >-
            This parameter reduces the targeted set of resources by applying a
            filter to the scoped set of resource representations. Only resources
            representations for which the filter construct evaluates to "true"
            are returned. No filter language is specified in the present
            document.
          required: false
          schema:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/Filter'
      responses:
        '200':
          description: >-
            Success case ("200 OK").
            This status code shall be returned, when query parameters are present in
            the request and one or multiple resources are deleted.
            The URIs of the deleted resources are returned in the response message body.
        '204':
          description: >-
            Success case ("204 No Content").
            This status code shall be returned, when no query parameters are present in
            the request and only one resource is deleted.
            The message body is empty.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: 'TS28623_ComDefs.yaml#/components/schemas/Uri'
            This status code is returned, when the resource has been successfully deleted.
            The response body is empty.
        default:
          description: Error case.
          content:
@@ -355,18 +327,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:
@@ -381,27 +341,33 @@ components:
        - MANAGEMENT_OPERATION
        - SON_OPERATION
        - UNKNOWN
    ScopeType:
      type: string
      enum:
        - BASE_ONLY
        - BASE_NTH_LEVEL
        - BASE_SUBTREE
        - BASE_ALL
    Operation:
      type: string
      enum:
        - add
        - remove
        - replace
    ScopeType:
    Insert:
      type: string
      enum:
        - BASE_ONLY
        - BASE_NTH_LEVEL
        - BASE_SUBTREE
        - BASE_ALL
    Scope:
      type: object
      properties:
        scopeType:
          $ref: '#/components/schemas/ScopeType'
        scopeLevel:
          type: integer

        - before
        - after
    PatchOperation:
      type: string
      enum:
        - add
        - replace
        - remove
        - copy
        - move
        - test

    Resource:
      oneOf:
@@ -426,8 +392,29 @@ components:
            - $ref: 'TS28541_NrNrm.yaml#/components/schemas/resources-nrNrm'
            - $ref: 'TS28541_5GcNrm.yaml#/components/schemas/resources-5gcNrm'
            - $ref: 'TS28541_SliceNrm.yaml#/components/schemas/resources-sliceNrm'
            - $ref: 'TS28536_CoslaNrm.yaml#/components/schemas/resources-coslaNrm'            
            - $ref: 'TS28312_IntentNrm.yaml#/components/schemas/resources-intentNrm'

            - $ref: 'TS28104_MdaNrm.yaml#/components/schemas/resources-mdaNrm'
            - $ref: 'TS28105_AiMlNrm.yaml#/components/schemas/resources-AiMlNrm'                           
    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
      properties:
@@ -445,13 +432,14 @@ components:
          $ref: '#/components/schemas/Operation'
        path:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Uri'
        insert:
          $ref: '#/components/schemas/Insert'
        value: {}
        oldValue: {}
      required:
        - notificationId
        - op
        - path

    NotifyMoiCreation:
      allOf:
        - $ref: 'TS28623_ComDefs.yaml#/components/schemas/NotificationHeader'
@@ -510,3 +498,13 @@ components:
                $ref: '#/components/schemas/MoiChange'
          required:
            - moiChanges
    PatchItem:
      type: object
      properties:
        op:
          $ref: '#/components/schemas/PatchOperation'
        from:
          type: string
        path:
          type: string
        value: {}