Commit 41704b3a authored by Marco Cavalli's avatar Marco Cavalli
Browse files

Removed definition of requestBodies/Query because it prevents to display the "description"

parent 3aac2dec
Loading
Loading
Loading
Loading
+14 −16
Original line number Diff line number Diff line
@@ -1647,7 +1647,20 @@ paths:
        - $ref: '#/components/parameters/Headers.ngsildTenant'
      requestBody:
        description: Payload body in the request contains a JSON-LD object which represents the query to be performed.
        $ref: '#/components/requestBodies/Query'
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Query'
          application/json+ld:
            schema:
              allOf:
                - type: object
                  properties:
                    '@context':
                      $ref:  '#/components/schemas/LdContext'
                - $ref: '#/components/schemas/Query'
                - required:
                  - '@context'
      responses:
        '200':
          description: |
@@ -3214,21 +3227,6 @@ components:
                    $ref:  '#/components/schemas/LdContext'
              - required:
                - '@context'
    Query:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Query'
        application/json+ld:
          schema:
            allOf:
              - type: object
                properties:
                  '@context':
                    $ref:  '#/components/schemas/LdContext'
              - $ref: '#/components/schemas/Query'
              - required:
                - '@context'
    QueryTemporal:
      content:
        application/json: