openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OCS_GET_STAT_INFO:
    post:
      tags:
      - OCSI
      operationId: /rfc/OCS_GET_STAT_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DB_SAP_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      SAP_SID:
                        type: string
                        maxLength: 10
                        description: Central Database System
                      DB_USER:
                        type: string
                        maxLength: 30
                        description: Database user
                      SAP_COMP:
                        type: string
                        maxLength: 30
                        description: Software Component
                      SAP_RELEAS:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      SAP_PTCHLV:
                        type: string
                        maxLength: 20
                        description: Support Package name
                      SAP_KNLREL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      SAP_KNLPAT:
                        type: string
                        maxLength: 10
                        description: Support Package Level of a Software Component
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DB_GLOB_INFO:
                    type: object
                    properties:
                      DB_SID:
                        type: string
                        maxLength: 10
                        description: Central Database System
                      DB_SYSTEM:
                        type: string
                        maxLength: 80
                        description: Supported database releases
                      DB_RELEASE:
                        type: string
                        maxLength: 32
                        description: Database server release
                      DB_HOST:
                        type: string
                        maxLength: 32
                        description: SAPDBHOST
                  DB_SAP_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        SAP_SID:
                          type: string
                          maxLength: 10
                          description: Central Database System
                        DB_USER:
                          type: string
                          maxLength: 30
                          description: Database user
                        SAP_COMP:
                          type: string
                          maxLength: 30
                          description: Software Component
                        SAP_RELEAS:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        SAP_PTCHLV:
                          type: string
                          maxLength: 20
                          description: Support Package name
                        SAP_KNLREL:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        SAP_KNLPAT:
                          type: string
                          maxLength: 10
                          description: Support Package Level of a Software Component
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
