openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_EXECUTE_COMMAND:
    post:
      tags:
      - TREX_RFC_TOOLS
      summary: execute command
      operationId: /rfc/TREX_RFC_EXECUTE_COMMAND
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMMAND:
                  type: string
                  format: byte
                  description: Path and name of a file
                FILE_PATH:
                  type: string
                  format: byte
                  description: Path and name of a file
                HOST:
                  type: string
                  format: byte
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: ''
              required:
              - COMMAND
              - FILE_PATH
              - HOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Rückgabetext
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
