Commit aea0582a authored by ruiyue's avatar ruiyue
Browse files

Merge branch...

Merge branch 'Rel19_CR_TS_28.532_Implement_HTTP_POST_method_for_createMOI_operation' into 'Integration_Rel19_SA5_161_YAML'

Rel19 CR0385 TS 28.532 implement http post method for create moi operation

See merge request !1739
parents 3e569914 1941137a
Loading
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -357,6 +357,41 @@ paths:
            application/json:
              schema:
                $ref: 'TS28623_ComDefs.yaml#/components/schemas/ErrorResponseDefault'
  '/{URI-LDN-first-part}':
    parameters:
      - name: URI-LDN-first-part
        in: path
        required: true
        schema:
          type: string
    post:
      summary: Creates a complete single resource
      description: >-
        With HTTP POST a complete single resource is created. The identifier of the new
        resource is assigned by the MnS producer.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Resource'
      responses:
        '201':
          description: >-
            Success case ("201 Created").
            This status code shall be returned when the resource is created.
            The representation of the created resource is returned in the response
            message body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resource'
        default:
          description: Error case.
          content:
            application/json:
              schema:
                $ref: 'TS28623_ComDefs.yaml#/components/schemas/ErrorResponseDefault'
components:
  schemas:
    CmNotificationTypes: