openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GWY_DUMP_INFO:
    post:
      tags:
      - SGWY
      operationId: /rfc/GWY_DUMP_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: integer
                  format: int32
                DISCONNECT:
                  type: string
                  maxLength: 1
                  description: Terminate connection
                DUMP_DESTINATION:
                  type: integer
                  format: int32
                  default: 2
                GWHOST:
                  type: string
                  maxLength: 255
                GWSERV:
                  type: string
                  maxLength: 20
                INDEX:
                  type: integer
                  format: int32
                  description: Number of connection
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINES:
                        type: string
                        maxLength: 128
                        description: A line with 128 characters
              required:
              - ACTION
              - INDEX
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINES:
                          type: string
                          maxLength: 128
                          description: A line with 128 characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
