openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_RUNSTATS:
    post:
      tags:
      - SDB6PM
      summary: 'DB6: Call RUNSTATS for Single Table'
      operationId: /rfc/DB6_PM_RUNSTATS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DETAIL:
                  type: string
                  maxLength: 1
                  description: Who Has Called this Program
                TOWNER:
                  type: string
                  maxLength: 20
                  description: 'DB6: Schema Name'
                TABLE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
              required:
              - DETAIL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TABLE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
