openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OLAP_API_EXECUTE_COMMAND:
    post:
      tags:
      - RRT0
      operationId: /rfc/OLAP_API_EXECUTE_COMMAND
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_HCOMMAND:
                  type: integer
                  format: int32
                I_T_CMD:
                  type: array
                  items:
                    type: object
                    properties:
                      CMD_ID:
                        type: integer
                        format: int64
                        description: ID of a tensor processor command
                I_T_CMD_PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      CMD_PARAM1:
                        type: string
                        maxLength: 70
                        description: Tensor processor command parameter
                I_T_TRACE:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Type of a debug/trace msg of the parser
                      MSGNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      TXT:
                        type: string
                        maxLength: 100
                        description: Text for trace/tebug info
              required:
              - I_HCOMMAND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  I_T_CMD:
                    type: array
                    items:
                      type: object
                      properties:
                        CMD_ID:
                          type: integer
                          format: int64
                          description: ID of a tensor processor command
                  I_T_CMD_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        CMD_PARAM1:
                          type: string
                          maxLength: 70
                          description: Tensor processor command parameter
                  I_T_TRACE:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of a debug/trace msg of the parser
                        MSGNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        TXT:
                          type: string
                          maxLength: 100
                          description: Text for trace/tebug info
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
