openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_EXEC_DBCC_CHECKDB:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: Execute DBCC CHECKDB for a given database
      operationId: /rfc/MSS_EXEC_DBCC_CHECKDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: DBCON name
                DB_NAME:
                  type: string
                  maxLength: 128
                  description: Database name
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target Schema
                INFO_MSGS:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTLINE:
                        type: string
                        maxLength: 255
                        description: DBCC info message
              required:
              - DB_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_MSGS:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXTLINE:
                          type: string
                          maxLength: 255
                          description: DBCC info message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
