openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RTM_COLLECT_AND_INFO:
    post:
      tags:
      - SRTM
      operationId: /rfc/RTM_COLLECT_AND_INFO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECORDS_COLLECTED:
                    type: integer
                    format: int32
                    description: Number of Transferred Log Records
                  STATUS_INFO:
                    type: object
                    properties:
                      SERVER:
                        type: string
                        maxLength: 20
                        description: Server Name
                      RETCODE:
                        type: integer
                        format: int32
                        description: Return Value of ABAP Statements
                      TOTAL_ALLOC:
                        type: integer
                        format: int32
                        description: Natural number
                      HIGH_WATER:
                        type: integer
                        format: int32
                        description: Natural number
                      NUM_OF_RECORDS:
                        type: integer
                        format: int32
                        description: Natural number
                      ERR_TEXT:
                        type: string
                        description: String
                      NUM_ON_FILE:
                        type: integer
                        format: int32
                        description: Natural number
                      SHARING:
                        type: number
                        description: Floating point value
                      TEST_TAB:
                        type: array
                        items:
                          type: object
                          properties:
                            TEST_KIND:
                              type: string
                              maxLength: 1
                              description: Type of test kernel/ABAP
                            TEST_ID:
                              type: string
                              maxLength: 30
                              description: Character string that identifies RTM tests
                            DESCRIPT:
                              type: string
                              maxLength: 80
                              description: Description of an RTM test
                            KEY_MASK:
                              type: integer
                              format: int32
                              description: Key length of an RTM test
                            TEXT_P:
                              type: string
                              maxLength: 1
                              description: Handling of free text
                            IS_ACTIVE:
                              type: string
                              maxLength: 1
                              description: Test is active
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
