openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_MD_CLASS_GET_SUBCLASSES:
    post:
      tags:
      - SCSMBK_MDATA_OUT
      operationId: /rfc/SCSM_MD_CLASS_GET_SUBCLASSES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS:
                  type: string
                  maxLength: 40
                GENERATION:
                  type: integer
                  format: int32
                NAMESPACE:
                  type: string
                  maxLength: 40
                  description: Object name in CCMS Repository
                SCHEME:
                  type: string
                  default: SCHEME_BC
                  maxLength: 8
                NS_SUBCLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      CL_GUID:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      SUPER_SCH:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      SUPER_CLS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      IMMED_PAR:
                        type: string
                        maxLength: 4
                        description: Distance Between Superclasses and Subclasses in SCR
                      ABAP_CLASS:
                        type: string
                        maxLength: 30
                        description: Object Type Name
                      JAVA_CLASS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                SUBCLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      SCHEME:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      CLASS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      SUPER_SCH:
                        type: string
                        maxLength: 8
                        description: Name of Schema or Semantic in System Repository
                      SUPER_CLS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
                      EXT_NAMING:
                        type: string
                        maxLength: 1
                        description: Indicator for Meta Data in System Component Repository
                      IMMED_PAR:
                        type: string
                        maxLength: 4
                        description: Distance Between Superclasses and Subclasses in SCR
                      ABAP_CLASS:
                        type: string
                        maxLength: 30
                        description: Object Type Name
                      JAVA_CLASS:
                        type: string
                        maxLength: 40
                        description: CCMS class names
              required:
              - CLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NS_SUBCLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        CL_GUID:
                          type: string
                          maxLength: 32
                          description: System GUID for ABAP Systems or Other Systems
                        SUPER_SCH:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        SUPER_CLS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        IMMED_PAR:
                          type: string
                          maxLength: 4
                          description: Distance Between Superclasses and Subclasses in SCR
                        ABAP_CLASS:
                          type: string
                          maxLength: 30
                          description: Object Type Name
                        JAVA_CLASS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                  SUBCLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        SCHEME:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        CLASS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        SUPER_SCH:
                          type: string
                          maxLength: 8
                          description: Name of Schema or Semantic in System Repository
                        SUPER_CLS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
                        EXT_NAMING:
                          type: string
                          maxLength: 1
                          description: Indicator for Meta Data in System Component Repository
                        IMMED_PAR:
                          type: string
                          maxLength: 4
                          description: Distance Between Superclasses and Subclasses in SCR
                        ABAP_CLASS:
                          type: string
                          maxLength: 30
                          description: Object Type Name
                        JAVA_CLASS:
                          type: string
                          maxLength: 40
                          description: CCMS class names
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
