openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWO_TREE_GET_ROOT:
    post:
      tags:
      - SWOT
      summary: Read Root Node of BOR Tree
      operationId: /rfc/SWO_TREE_GET_ROOT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ROOT:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      OBJTYPEID:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 32
                        description: Object name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      ISFOLDER:
                        type: string
                        maxLength: 1
                        description: 'Node contains several nodes  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      IS_BUSOBJ:
                        type: string
                        maxLength: 1
                        description: 'Business Object  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
