openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_READ_CONNECTED_GW:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_READ_CONNECTED_GW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                CONNECTED_SYSTEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      LUNAME:
                        type: string
                        maxLength: 8
                        description: Logical Unit
                      TPNAME:
                        type: string
                        maxLength: 8
                        description: Transaction program name
                      SYSTYPE:
                        type: string
                        maxLength: 16
                        description: Type of Gateway Client
                      HOST:
                        type: string
                        maxLength: 20
                        description: Host
                      ADDR:
                        type: string
                        maxLength: 16
                        description: Gateway Host Address
                      LAST_REQ:
                        type: string
                        maxLength: 16
                        description: Time of Last Request
                      'NO':
                        type: string
                        maxLength: 10
                        description: Number of connection
                      TBLTYPE:
                        type: string
                        maxLength: 10
                        description: General Counter
                      FILLER:
                        type: string
                        maxLength: 1
                        description: Fill byte for gateway structures
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONNECTED_SYSTEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        LUNAME:
                          type: string
                          maxLength: 8
                          description: Logical Unit
                        TPNAME:
                          type: string
                          maxLength: 8
                          description: Transaction program name
                        SYSTYPE:
                          type: string
                          maxLength: 16
                          description: Type of Gateway Client
                        HOST:
                          type: string
                          maxLength: 20
                          description: Host
                        ADDR:
                          type: string
                          maxLength: 16
                          description: Gateway Host Address
                        LAST_REQ:
                          type: string
                          maxLength: 16
                          description: Time of Last Request
                        'NO':
                          type: string
                          maxLength: 10
                          description: Number of connection
                        TBLTYPE:
                          type: string
                          maxLength: 10
                          description: General Counter
                        FILLER:
                          type: string
                          maxLength: 1
                          description: Fill byte for gateway structures
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
