openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_MON_TOP_TABVIEW:
    post:
      tags:
      - SFMSS_MONSYSCAT
      summary: Get the column definitions of a table
      operationId: /rfc/MSS_MON_TOP_TABVIEW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: DBCON name
                OBJ_DB:
                  type: string
                  maxLength: 128
                  description: Database name
                OBJ_SCHEMA:
                  type: string
                  maxLength: 128
                  description: Schema name
                PATTERN:
                  type: string
                  maxLength: 128
                  description: LIKE pattern
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target Schema
                TOPN:
                  type: integer
                  format: int32
                  default: 200
                  description: Top n names to get
                OBJLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLE_NAME:
                        type: string
                        maxLength: 128
                        description: Table name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLE_NAME:
                          type: string
                          maxLength: 128
                          description: Table name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
