openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_CLASS2CLASS_ASSOCPATH_GET:
    post:
      tags:
      - SCSMBK_MDATA_OUT
      operationId: /rfc/SCSM_CLASS2CLASS_ASSOCPATH_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ASSOCIATION_TYPE:
                  type: string
                  default: CSM_ANY_ASSOCIATION
                  maxLength: 1
                END_CLASS:
                  type: string
                  maxLength: 40
                  description: CCMS Class Names
                END_NAMESPACE:
                  type: string
                  maxLength: 40
                  description: Object name in CCMS Repository
                END_SCHEME:
                  type: string
                  default: SCHEME_BC
                  maxLength: 8
                INTERMEDIATE_CLASS:
                  type: string
                  maxLength: 40
                  description: CCMS Class Names
                INTERMEDIATE_NS:
                  type: string
                  maxLength: 40
                  description: Object name in CCMS Repository
                INTERMEDIATE_SCHEME:
                  type: string
                  maxLength: 8
                  description: Name of Schema or Semantic in System Repository
                ORIGIN_CLASS:
                  type: string
                  maxLength: 40
                  description: CCMS Class Names
                ORIGIN_NAMESPACE:
                  type: string
                  maxLength: 40
                  description: Object name in CCMS Repository
                ORIGIN_SCHEME:
                  type: string
                  default: SCHEME_BC
                  maxLength: 8
                SEMANTIC:
                  type: string
                  maxLength: 8
                ASSOCIATION_PATH:
                  type: array
                  items:
                    type: object
                    properties:
                      NAMESPACE:
                        type: string
                        maxLength: 40
                        description: Object name in CCMS Repository
                      SCHEME:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      CLASS_NAME:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                CLASSES_VISITED:
                  type: array
                  items:
                    type: object
                    properties:
                      ASSOC_SCH:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      ASSOC_CLS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      REQ_TOK:
                        type: string
                        maxLength: 40
                        description: Property of CCMS Repository class
                      REQ_TOKTYP:
                        type: integer
                        format: int32
                        description: Association types
                      REQ_SCH:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      REQ_CLS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      OTH_TOK:
                        type: string
                        maxLength: 40
                        description: Property of CCMS Repository class
                      OTH_TOKTYP:
                        type: integer
                        format: int32
                        description: Association types
                      OTH_SCH:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      OTH_CLS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      ASS_NS:
                        type: string
                        maxLength: 40
                        description: Object name in CCMS Repository
                      REQ_NS:
                        type: string
                        maxLength: 40
                        description: Object name in CCMS Repository
                      OTH_NS:
                        type: string
                        maxLength: 40
                        description: Object name in CCMS Repository
              required:
              - END_CLASS
              - ORIGIN_CLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ASSOCIATION_PATH:
                    type: array
                    items:
                      type: object
                      properties:
                        NAMESPACE:
                          type: string
                          maxLength: 40
                          description: Object name in CCMS Repository
                        SCHEME:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        CLASS_NAME:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                  CLASSES_VISITED:
                    type: array
                    items:
                      type: object
                      properties:
                        ASSOC_SCH:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        ASSOC_CLS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        REQ_TOK:
                          type: string
                          maxLength: 40
                          description: Property of CCMS Repository class
                        REQ_TOKTYP:
                          type: integer
                          format: int32
                          description: Association types
                        REQ_SCH:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        REQ_CLS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        OTH_TOK:
                          type: string
                          maxLength: 40
                          description: Property of CCMS Repository class
                        OTH_TOKTYP:
                          type: integer
                          format: int32
                          description: Association types
                        OTH_SCH:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        OTH_CLS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        ASS_NS:
                          type: string
                          maxLength: 40
                          description: Object name in CCMS Repository
                        REQ_NS:
                          type: string
                          maxLength: 40
                          description: Object name in CCMS Repository
                        OTH_NS:
                          type: string
                          maxLength: 40
                          description: Object name in CCMS Repository
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
