openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_EXECUTE_PYTHON:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: execute a python command
      operationId: /rfc/TREX_RFC_EXECUTE_PYTHON
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMMAND:
                  type: string
                  format: byte
                  description: Character 1024
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: ''
              required:
              - COMMAND
              - INDEXSERVER_LOCATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
