openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SEL_INTERNAL_STATE_SDB:
    post:
      tags:
      - SADB
      operationId: /rfc/SEL_INTERNAL_STATE_SDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CASE_SENSITIVE:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                COMPO:
                  type: string
                  maxLength: 20
                  description: 'SAP DB: COMPONENT from sysdba.internal_state'
                CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                ISTATE:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPO:
                        type: string
                        maxLength: 20
                        description: 'SAP DB: COMPONENT from sysdba.internal_state'
                      DESCR:
                        type: string
                        maxLength: 40
                        description: 'SAP DB: DESCRIPTION from sysdba.internal_state'
                      VALUE:
                        type: string
                        maxLength: 40
                        description: 'SAP DB: VALUE from sysdba.internal_state'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ISTATE:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPO:
                          type: string
                          maxLength: 20
                          description: 'SAP DB: COMPONENT from sysdba.internal_state'
                        DESCR:
                          type: string
                          maxLength: 40
                          description: 'SAP DB: DESCRIPTION from sysdba.internal_state'
                        VALUE:
                          type: string
                          maxLength: 40
                          description: 'SAP DB: VALUE from sysdba.internal_state'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
