openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSTS_SELF_TEST:
    post:
      tags:
      - STMS
      summary: TemSe administration self test
      operationId: /rfc/RSTS_SELF_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: Client (or the own one)
                INTENSITY:
                  type: integer
                  format: int64
                  default: 5
                  description: 'Intensity of check: 1=Fast .. 9=Complete'
                MAY_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: If there is a COMMIT between indiv. actions
                NAME:
                  type: string
                  default: TEST_SELF
                  maxLength: 20
                  description: Name of the TemSe object for testing
                WRITE_REPORT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Should a report be written?
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Text editor text line
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TOTAL_RESULT:
                    type: string
                    maxLength: 1
                    description: 'Total result of the test: ''X''=oK.'
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Text editor text line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
