Commit 91b9e65b authored by Marco Cavalli's avatar Marco Cavalli
Browse files

Fix local description field being overridden by the one in the schema

parent 53b568e6
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -1376,6 +1376,8 @@ paths:
                items:
                  type: string
        '207':
          allOf:
            - $ref: '#/components/responses/MultiStatus.BatchOperationResult'
          description: |
            If only some or none of the entities have been successfully created, a response body containing the
            result of each operation contained in the batch is returned in a BatchOperationResult structure.
@@ -1392,7 +1394,6 @@ paths:
            is returned in a BatchOperationResult structure.

            Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17.
          $ref: '#/components/responses/MultiStatus.BatchOperationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
  /entityOperations/upsert:
@@ -1467,12 +1468,14 @@ paths:
            NGSILD-Tenant:
              $ref: '#/components/headers/NGSILD-Tenant'
        '207':
          allOf:
            - $ref: '#/components/responses/MultiStatus.BatchOperationResult'
          description: |
            If only some or none of the entities have been successfully created, a response body containing the
            If only some or none of the entities have been successfully created or updated, a response body containing the
            result of each operation contained in the batch is returned in a BatchOperationResult structure.
            It contains two arrays. The first array ('success') contains the URIs of the successfully created entities,
            It contains two arrays. The first array ('success') contains the URIs of the successfully created or updated entities,
            while the second array ('errors') contains information about the error for each
            of the entities that could not be created. There is no restriction
            of the entities that could not be created or updated. There is no restriction
            as to the order of the Entity Ids in the arrays.

            If any of the entities matches to a registration, the relevant parts of the request
@@ -1483,7 +1486,6 @@ paths:
            is returned in a BatchOperationResult structure.

            Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17.
          $ref: '#/components/responses/MultiStatus.BatchOperationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
  /entityOperations/update:
@@ -1536,11 +1538,13 @@ paths:
      responses:
        '204':
          description: |
            If all entities already existed and are successfully updated, there is no payload body in the response.
            If all entities have been successfully updated, there is no payload body in the response. 
          headers:
            NGSILD-Tenant:
              $ref: '#/components/headers/NGSILD-Tenant'
        '207':
          allOf:
            - $ref: '#/components/responses/MultiStatus.BatchOperationResult'
          description: |
            If only some or none of the entities have been successfully created, a response body containing the
            result of each operation contained in the batch is returned in a BatchOperationResult structure.
@@ -1557,7 +1561,6 @@ paths:
            is returned in a BatchOperationResult structure.

            Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17.
          $ref: '#/components/responses/MultiStatus.BatchOperationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
  /entityOperations/delete:
@@ -1594,6 +1597,8 @@ paths:
            NGSILD-Tenant:
              $ref: '#/components/headers/NGSILD-Tenant'
        '207':
          allOf:
            - $ref: '#/components/responses/MultiStatus.BatchOperationResult'
          description: |
            If some or all of the entities have not been successfully deleted, or did not exist,
            a response body containing the result of each operation contained in the batch is returned
@@ -1611,7 +1616,6 @@ paths:
            fails or times out, see clause 6.3.17.

            Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17.
          $ref: '#/components/responses/MultiStatus.BatchOperationResult'
        '400':
          $ref: '#/components/responses/BadRequest'
  /entityOperations/query: