openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SREL_GET_NEXT_NEIGHBORS:
    post:
      tags:
      - SREL
      summary: Determine Related Objects
      operationId: /rfc/SREL_GET_NEXT_NEIGHBORS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BYPASS_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'' Read Again from the Database'
                MAX_HOPS:
                  type: integer
                  format: int64
                  default: 1
                  description: Maximum Number of Jumps
                OBJECT:
                  type: object
                  properties:
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Object key
                    OBJTYPE:
                      type: string
                      maxLength: 10
                      description: Object Type
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                RELATIONTYPE:
                  type: string
                  maxLength: 4
                  description: Relationship Type
                ROLETYPE:
                  type: string
                  maxLength: 10
                  description: Role Type
                NEIGHBORS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      ROLETYPE:
                        type: string
                        maxLength: 10
                        description: Role in Which the Object Occurs
                      ROLEID:
                        type: string
                        maxLength: 22
                        description: 'Object Relationship Service : Role GUID'
                      HOPS:
                        type: integer
                        format: int64
                        description: 'Object Relationship: Space Between Neighboring Objects'
              required:
              - OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEIGHBORS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        ROLETYPE:
                          type: string
                          maxLength: 10
                          description: Role in Which the Object Occurs
                        ROLEID:
                          type: string
                          maxLength: 22
                          description: 'Object Relationship Service : Role GUID'
                        HOPS:
                          type: integer
                          format: int64
                          description: 'Object Relationship: Space Between Neighboring Objects'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
