Commit 0f6ee95f authored by Marco Cavalli's avatar Marco Cavalli
Browse files

Remove unneeded "allOf" statements in the schema definitions of the request...

Remove unneeded "allOf" statements in the schema definitions of the request body of batch entity operations
parent bfe830ae
Loading
Loading
Loading
Loading
+51 −53
Original line number Diff line number Diff line
@@ -1347,8 +1347,7 @@ paths:
                    - type
          application/json+ld:
            schema:
              allOf:
                - type: array
              type: array
              items:
                allOf:
                  - type: object
@@ -1431,8 +1430,7 @@ paths:
                    - type
          application/json+ld:
            schema:
              allOf:
                - type: array
              type: array
              items:
                allOf:
                  - type: object
@@ -1522,8 +1520,7 @@ paths:
                    - type
          application/json+ld:
            schema:
              allOf:
                - type: array
              type: array
              items:
                allOf:
                  - type: object
@@ -1687,7 +1684,7 @@ paths:
      tags:
        - Context Information Provision
      summary: |
        Batch Entity merge
        Batch Entity Merge
      description: |
        5.6.20 Batch Entity Merge.

@@ -1716,14 +1713,14 @@ paths:
                    - type
          application/json+ld:
            schema:
              allOf:
                - type: array
              type: array
              items:
                    $ref: '#/components/schemas/Entity'
                allOf:
                  - type: object
                    properties:
                      '@context':
                        $ref:  '#/components/schemas/LdContext'
                  - $ref: '#/components/schemas/Entity'
                  - required:
                    - id
                    - type
@@ -1736,6 +1733,8 @@ 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 merged, a response body containing the
            result of each operation contained in the batch is returned in a BatchOperationResult structure.
@@ -1752,7 +1751,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'
  /temporal/entities: