openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_M_CONN_SPLIT:
    post:
      tags:
      - SDC_MODEL
      operationId: /rfc/SDOK_M_CONN_SPLIT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CCS:
                  type: object
                  properties:
                    CC_SPACE:
                      type: string
                      maxLength: 30
                      description: 'Model: Entity Name'
                    VERSION:
                      type: string
                      maxLength: 1
                      description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                      enum:
                      - '0'
                      - '9'
                      - ''
                      - '2'
                      - '1'
                CONN_NODE_IN:
                  type: integer
                  format: int64
                  description: Link nodes
                RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                SOURCES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                TARGETS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
              required:
              - CCS
              - CONN_NODE_IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONN_NODE_OUT:
                    type: integer
                    format: int64
                  RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                  SOURCES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                  TARGETS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
