openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_EXPLAIN_SQL_STMT_XML:
    post:
      tags:
      - SFMSS_PERF
      summary: MS SQL server function to get statistics, showplan for SQL stmt execution.
      operationId: /rfc/MSS_EXPLAIN_SQL_STMT_XML
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name of a Database Connection
                SQLCODE:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTLINE:
                        type: string
                        maxLength: 255
                        description: MS sql server - stored procedure text line
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  XML_SHOWPLAN:
                    type: string
                    description: Output of set showplan_xml on
                  SQLCODE:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXTLINE:
                          type: string
                          maxLength: 255
                          description: MS sql server - stored procedure text line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
