openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_CHECK_DB2_CONNECT:
    post:
      tags:
      - STU3
      summary: Checks the settings of DB2 Connect
      operationId: /rfc/STU3_CHECK_DB2_CONNECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECK_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      LENGTH:
                        type: string
                        maxLength: 3
                        description: Length of protocol message in external program
                      MESSAGE:
                        type: string
                        maxLength: 128
                        description: Log message from external program
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXIT_CODE:
                    type: integer
                    format: int32
                    description: Exit code of an external program
                  STATUS:
                    type: string
                    maxLength: 1
                    description: Start or exit status of an external program
                  CHECK_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        LENGTH:
                          type: string
                          maxLength: 3
                          description: Length of protocol message in external program
                        MESSAGE:
                          type: string
                          maxLength: 128
                          description: Log message from external program
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
