openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ORA_SQL_SHOW_DETAIL:
    post:
      tags:
      - STUN_ORA
      operationId: /rfc/ORA_SQL_SHOW_DETAIL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADDRESS:
                  type: string
                  maxLength: 16
                  description: Address of statement in the cache
                CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                C_END:
                  type: integer
                  format: int32
                C_START:
                  type: integer
                  format: int32
                HASH_VALUE:
                  type: number
                  description: Hash value of statement
                L_END:
                  type: integer
                  format: int32
                L_START:
                  type: integer
                  format: int32
                SOURCE_REF:
                  type: object
                  properties:
                    PROG_NAME:
                      type: string
                      maxLength: 40
                      description: 'ABAP Program: Current Main Program'
                    CONT_OFFS:
                      type: integer
                      format: int32
                      description: Offset of a Processing Control Block
                STAT_LINE:
                  type: integer
                  format: int32
                STMT_LN:
                  type: integer
                  format: int32
                STMT_STR:
                  type: string
                  maxLength: 30000
                  description: SQL statement text
                TITLEBAR:
                  type: string
                  maxLength: 70
              required:
              - C_END
              - C_START
              - L_END
              - L_START
              - SOURCE_REF
              - STAT_LINE
              - STMT_LN
              - STMT_STR
              - TITLEBAR
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
