openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_LOGSIZE_MSQ:
    post:
      tags:
      - SFMSS_SIZE
      summary: MS SQL server function to get log file details
      operationId: /rfc/GET_LOGSIZE_MSQ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                DBNAME:
                  type: string
                  maxLength: 255
                SCHEMA:
                  type: string
                  default: ''
                  maxLength: 128
                  description: Schema name
              required:
              - DBNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MSQDBLOGSIZE:
                    type: object
                    properties:
                      LOGSIZE:
                        type: integer
                        format: int32
                        description: Size of the database transaction log in MB.
                      LOGFREE:
                        type: integer
                        format: int32
                        description: Free space in database transaction log in MB .
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
