openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CSM_CONTROL:
    post:
      tags:
      - SMON
      operationId: /rfc/CSM_CONTROL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMMAND:
                  type: string
                  maxLength: 512
                OPERATION:
                  type: string
                  maxLength: 512
                TIMEOUT:
                  type: integer
                  format: int32
                ERROR_STD:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
                OUTPUT_STD:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 132
                        description: Text (length 132)
              required:
              - COMMAND
              - OPERATION
              - TIMEOUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_STD:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 132
                          description: Text (length 132)
                  OUTPUT_STD:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 132
                          description: Text (length 132)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
