openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CHECK_CONNECTION_SDB:
    post:
      tags:
      - SADB
      operationId: /rfc/CHECK_CONNECTION_SDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                ET_CONNECTINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'SAP DB: Response line from DBM command'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_CHECK_NOT_OK:
                    type: string
                    maxLength: 1
                    description: Boolean Variable (X=true, -=false, space=unknown)
                  ET_CONNECTINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'SAP DB: Response line from DBM command'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
