openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_GET_REMOTE_GATEWAY_INFO:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_GET_REMOTE_GATEWAY_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                IDX:
                  type: integer
                  format: int32
                  description: Number of connection
              required:
              - IDX
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONV_NO:
                    type: integer
                    format: int32
                    description: Status
                  FRAGMENTATION:
                    type: integer
                    format: int32
                    description: Status
                  SO_KEEPALIVE:
                    type: integer
                    format: int32
                    description: Status
                  STATE:
                    type: integer
                    format: int32
                    description: Status
                  TRACE:
                    type: integer
                    format: int32
                    description: Trace level
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
