openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DD_DB_CONSISTENCY_CHECK:
    post:
      tags:
      - SDB5
      summary: Test for Consistency Checks
      operationId: /rfc/DD_DB_CONSISTENCY_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MISSING_IND_COMP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Compute missing indexes (in MONI)
                MISSING_IND_DISP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Display missing indexes (from MONI)
                UNIQUE_IND_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Find only tables without primary key
                ADDTL_INDEX:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                MISS_INDEX:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NO_DBINDICES:
                    type: integer
                    format: int32
                    description: No. of indexes missing on the DB
                  NO_DBTABLES:
                    type: integer
                    format: int32
                    description: No. of tables missing on the DB
                  NO_SAPINDICES:
                    type: integer
                    format: int32
                    description: No. of unknown indexes in the dictionary
                  NO_SAPTABLES:
                    type: integer
                    format: int32
                    description: No. of unknown tables in the dictionary
                  ADDTL_INDEX:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                  MISS_INDEX:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
