openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_ST22_RFC:
    post:
      tags:
      - ST22_TOOLS
      summary: Execute Tool on Specific Machine
      operationId: /rfc/RS_ST22_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECK_RFC:
                  type: string
                  maxLength: 1
                  description: General Flag
                P_TOOL_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ERRORID:
                        type: string
                        maxLength: 30
                        description: Name of Runtime Error
                      PROG:
                        type: string
                        maxLength: 40
                        description: 'ABAP Program: Current Main Program'
                      RFC:
                        type: string
                        maxLength: 1
                        description: General Flag
                TOOL:
                  type: string
                  maxLength: 40
                  description: 'ABAP Program: Current Main Program'
                FT:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 2
                        description: ''
                      LEN:
                        type: integer
                        format: int32
                        description: ''
                      VALUE:
                        type: string
                        maxLength: 256
                        description: ''
              required:
              - CHECK_RFC
              - P_TOOL_TAB
              - TOOL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FT:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 2
                          description: ''
                        LEN:
                          type: integer
                          format: int32
                          description: ''
                        VALUE:
                          type: string
                          maxLength: 256
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
