openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_ADM_RUNSTATS:
    post:
      tags:
      - SDB6ADM
      summary: 'DB6: RUNSTATS and REORGCHK of table'
      operationId: /rfc/DB6_ADM_RUNSTATS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADMSTAT:
                  type: object
                  properties:
                    TABSCHEMA:
                      type: string
                      maxLength: 20
                      description: 'DB6: Schema Name'
                    TABNAME:
                      type: string
                      maxLength: 128
                      description: 'DB6: long table name'
                    VWTYP:
                      type: string
                      maxLength: 1
                      description: ''
                    ACTIV:
                      type: string
                      maxLength: 1
                      description: ''
                    SAMPLSZTAB:
                      type: integer
                      format: int64
                      description: ''
                    SAMPLE_IDX:
                      type: string
                      maxLength: 1
                      description: ''
                    SAMPLE_TAB:
                      type: string
                      maxLength: 1
                      description: ''
                    KEYCOLONLY:
                      type: string
                      maxLength: 1
                      description: ''
                    AMETH:
                      type: string
                      maxLength: 1
                      description: ''
                    VOLA_STAT:
                      type: string
                      maxLength: 1
                      description: ''
                    VOLATHRESH:
                      type: integer
                      format: int64
                      description: ''
                    UPDRATIO:
                      type: integer
                      format: int64
                      description: ''
                    AEDAT:
                      type: string
                      format: date
                      description: ''
                    POOL_LIKE:
                      type: string
                      maxLength: 1
                      description: ''
                    SAMPLTYPE:
                      type: string
                      maxLength: 1
                      description: ''
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                TABNAME:
                  type: string
                  maxLength: 128
                  description: 'DB6: long table name'
                TOWNER:
                  type: string
                  maxLength: 20
                  description: 'DB6: Schema Name'
                INDEX_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 128
                        description: 'DB6: long table name'
                      IDXNAME:
                        type: string
                        maxLength: 128
                        description: 'DB6: long table name'
                TABLE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INDEX_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 128
                          description: 'DB6: long table name'
                        IDXNAME:
                          type: string
                          maxLength: 128
                          description: 'DB6: long table name'
                  TABLE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
