openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_DB_SIZE_INFO:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: Get  information on the size of a database
      operationId: /rfc/MSS_GET_DB_SIZE_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name of a Database Connection
                DB_NAME:
                  type: string
                  maxLength: 128
                  description: Database name
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target Schema
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DB_SIZEINFO:
                    type: object
                    properties:
                      DB_SIZE:
                        type: integer
                        format: int64
                        description: Database size in MB
                      DB_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in database in MB
                      LOG_SIZE:
                        type: integer
                        format: int64
                        description: Log size in MB
                      LOG_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in log in MB
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
