openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAUNIT_LEGACY_RFC_EXECUTION:
    post:
      tags:
      - SAUNIT_LEGACY_REMOTE
      operationId: /rfc/SAUNIT_LEGACY_RFC_EXECUTION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TADIR_KEYS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
              required:
              - TADIR_KEYS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: object
                    properties:
                      MESSAGES:
                        type: array
                        items:
                          type: object
                          properties:
                            PROGRAM_INDEX:
                              type: integer
                              format: int32
                              description: Index of the Program to Which the Message Refers or 0
                            CLASS_INDEX:
                              type: integer
                              format: int32
                              description: Index of the Class to Which the Message Refers or 0
                            METHOD_INDEX:
                              type: integer
                              format: int32
                              description: Index of the Method to Which the Message Refers or 0
                            SEVERITY:
                              type: string
                              maxLength: 1
                              description: Severity [C|F|T|?] ([C]ritical, [F]atal, [T]olerable)
                            KIND:
                              type: string
                              maxLength: 1
                              description: Type [E|F|S|W|?] ([E]xcep., [F]ailure, [S]hort Dump,[W]arn.)
                            TEXT:
                              type: string
                              description: Message Text
                      PROGRAMS_FAILED:
                        type: array
                        items:
                          type: string
                          description: ''
                      CLASSES:
                        type: array
                        items:
                          type: string
                          description: ''
                      PROGRAMS_PASSED:
                        type: array
                        items:
                          type: string
                          description: ''
                      METHODS:
                        type: array
                        items:
                          type: string
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
