openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CHECK_R3TABLE_EXISTENCE:
    post:
      tags:
      - S390
      summary: Check if a specified table does exist
      operationId: /rfc/CHECK_R3TABLE_EXISTENCE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TABNAME:
                  type: string
                  maxLength: 18
                  description: Name of the table to be checked
              required:
              - TABNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DBNAME:
                    type: string
                    maxLength: 8
                    description: Database name
                  TNAME_DB:
                    type: string
                    maxLength: 18
                    description: Return value of table name
                  TSNAME:
                    type: string
                    maxLength: 8
                    description: Tablespace name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
