Commit 30806e5e authored by Marco Cavalli's avatar Marco Cavalli
Browse files

Show the @context field on top of the Query example and on top of the Batch...

Show the @context field on top of the Query example and on top of the Batch Post Query response body example (LD+JSON)
parent 0f6ee95f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1636,6 +1636,8 @@ paths:
        Query entities based on POST
      description: |
        5.7.2 Query Entity.

        This operation allows querying an NGSI-LD system.
      operationId: queryBatch
      parameters:
        # Local Query param
@@ -1668,11 +1670,11 @@ paths:
                type: array
                items:
                  allOf:
                    - $ref: '#/components/schemas/Entity'
                    - type: object
                      properties:
                        '@context':
                          $ref:  '#/components/schemas/LdContext'
                    - $ref: '#/components/schemas/Entity'
                    - required:
                        - id
                        - type
@@ -3220,11 +3222,11 @@ components:
        application/json+ld:
          schema:
            allOf:
              - $ref: '#/components/schemas/Query'
              - type: object
                properties:
                  '@context':
                    $ref:  '#/components/schemas/LdContext'
              - $ref: '#/components/schemas/Query'
              - required:
                - '@context'
    QueryTemporal: