openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FIND_OBJECT:
    post:
      tags:
      - SVRZ
      summary: Checks the existence of an object
      operationId: /rfc/FIND_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJNAME:
                  type: string
                  default: ' '
                  maxLength: 34
                  description: Object name (report name, screen name...)
                OBJTYPE:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Object type ('REPO', 'DYNP', 'CUAD'...)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECT_NOT_FOUND:
                    type: string
                    maxLength: 1
                    description: = 'x' if object is not found, otherwise SPACE
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
