openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_VERSION:
    post:
      tags:
      - SFMSS_MISC
      summary: Get MS SQL Server version
      operationId: /rfc/MSS_GET_VERSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name of a database connection
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target schema
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BUILDVERSION:
                    type: string
                    maxLength: 4
                  MAINVERSION:
                    type: string
                    maxLength: 2
                  SQLVERSION:
                    type: string
                    maxLength: 50
                  SUBVERSION:
                    type: string
                    maxLength: 2
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
