openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MQ_INFO:
    post:
      tags:
      - MQMT
      operationId: /rfc/MQ_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTINATION:
                  type: string
                  maxLength: 32
              required:
              - DESTINATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MQ_DEST_INFO:
                    type: object
                    properties:
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      QUEUE:
                        type: string
                        maxLength: 48
                        description: Remote MQ series queue name (this can be a local queue)
                      QUEUEMGR:
                        type: string
                        maxLength: 48
                        description: Destination Queue Manager name
                      EXECEXIT:
                        type: string
                        maxLength: 1
                        description: User exit enabled
                      EXITNAME:
                        type: string
                        maxLength: 40
                        description: Name of exit to call on sending messages
                      EXITBUFF:
                        type: string
                        maxLength: 32
                        description: Buffer to be passed to user exit
                      RFCCLIENT:
                        type: string
                        maxLength: 3
                        description: Explicit logon client
                      RFCLANG:
                        type: string
                        maxLength: 1
                        description: Explicit language
                      RFCHOST:
                        type: string
                        maxLength: 48
                        description: MQ char 48
                      RFCUSER:
                        type: string
                        maxLength: 12
                        description: Explicit user ID
                      RFCAUTH:
                        type: string
                        maxLength: 40
                        description: Explicit password
                      RFCSYSID:
                        type: string
                        maxLength: 2
                        description: System ID used in MQ 2 bytes not 8
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
