openapi: 3.0.1
info:
  title: TEST
  description: |-
    ## TEST
  version: 1.0.0

servers:
  - url: /v3
    description: Major version of service

tags:
  - name: consent-controller
    description: Consent API


paths:
  /agreements:
    parameters:
      - $ref: '#/components/parameters/x-client-ismobile'
    get:
      tags:
        - consent-controller
      operationId: readAgreements
      responses:
        "200":
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ListResponseResponseAgreement'
components:
  schemas:
    ResponseAgreement:
      type: object
      properties:
        agreementId:
          type: string
    ListResponseResponseAgreement:
      type: object
      properties:
        list:
          type: array
          items:
            $ref: '#/components/schemas/ResponseAgreement'
  parameters:
    x-client-ismobile:
      name: x-client-ismobile
      in: header
      description: |
        blabla
      schema:
        type: boolean
      required: false