openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_MON_GET_ALL_OBJECTS:
    post:
      tags:
      - SFMSS_MONSYSCAT
      summary: Get all objects of a certain type
      operationId: /rfc/MSS_MON_GET_ALL_OBJECTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                DB_NAME:
                  type: string
                  maxLength: 128
                  description: Database Name
                OBJECT_TYPE:
                  type: string
                  maxLength: 2
                  description: Object Type
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                SCHEMA_NAME:
                  type: string
                  maxLength: 128
                  description: Structure name
                ALL_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 128
                        description: Object name
              required:
              - OBJECT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALL_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 128
                          description: Object name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
