openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRGUI_CONNECTION_TEST:
    post:
      tags:
      - REMOTE_SAPGUI
      summary: 'RFC Test:   CONNECTION Test'
      operationId: /rfc/SRGUI_CONNECTION_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GWHOST:
                  type: string
                  maxLength: 1024
                  description: Gateway Host Name
                GWSERV:
                  type: string
                  maxLength: 32
                  description: Gateway service
                JCO_SERVER:
                  type: string
                  maxLength: 1
                  description: Registered JCO Server
                PROGID:
                  type: string
                  maxLength: 1024
                  description: Registered PROGRAM_ID
                REQUTEXT:
                  type: string
                  maxLength: 255
                  description: List processing, contents of selected line
                SERVER_ID:
                  type: string
                  maxLength: 1024
                  description: SERVER_ID for Security Check
                USING_SNC:
                  type: string
                  maxLength: 1
                  description: 'X: Uisng SNC'
              required:
              - PROGID
              - REQUTEXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ECHOTEXT:
                    type: string
                    maxLength: 255
                  RESPTEXT:
                    type: string
                    maxLength: 255
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
