openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_GET_VARIANTS:
    post:
      tags:
      - ECATT_REPOSITORY
      operationId: /rfc/ECATT_GET_VARIANTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_NAME:
                  type: string
                  maxLength: 30
                IM_TYPE:
                  type: string
                  default: ECTC
                  maxLength: 4
                ET_VARIANTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_NAME:
                        type: string
                        maxLength: 30
                        description: Test Configuration
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: 'eCATT Object Type (Test Data, Script, Configuration, etc.)  enumValues: ECSD=System Data Container,ECSC=Test Script,ECTC=Test Configuration,ECTD=Test Data Container'
                        enum:
                        - ECSD
                        - ECSC
                        - ECTC
                        - ECTD
                      VAR_NAME:
                        type: string
                        maxLength: 30
                        description: Variant name
                      VAR_DESC:
                        type: string
                        maxLength: 60
                        description: Short Text of Parameter, Command Interface or Variant
              required:
              - IM_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_VARIANTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_NAME:
                          type: string
                          maxLength: 30
                          description: Test Configuration
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: 'eCATT Object Type (Test Data, Script, Configuration, etc.)  enumValues: ECSD=System Data Container,ECSC=Test Script,ECTC=Test Configuration,ECTD=Test Data Container'
                          enum:
                          - ECSD
                          - ECSC
                          - ECTC
                          - ECTD
                        VAR_NAME:
                          type: string
                          maxLength: 30
                          description: Variant name
                        VAR_DESC:
                          type: string
                          maxLength: 60
                          description: Short Text of Parameter, Command Interface or Variant
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
