openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDAS_X_DT_GET_VARIANTS:
    post:
      tags:
      - RSDAS_X_API
      operationId: /rfc/RSDAS_X_DT_GET_VARIANTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OBJECT_ID:
                  type: string
                  maxLength: 40
                I_OBJECT_TYPE:
                  type: string
                  maxLength: 4
                E_T_VARIANT:
                  type: array
                  items:
                    type: object
                    properties:
                      VARIANT:
                        type: string
                        maxLength: 1
                        description: 'Variant for Generic Data Access Service  enumValues: U=URL Parameter,D=Data'
                        enum:
                        - U
                        - D
                      DESCRIPTION:
                        type: string
                        maxLength: 60
                        description: Description for Variants of a Generic DAS
              required:
              - I_OBJECT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_INTERFACE_VERSION:
                    type: integer
                    format: int32
                  E_T_VARIANT:
                    type: array
                    items:
                      type: object
                      properties:
                        VARIANT:
                          type: string
                          maxLength: 1
                          description: 'Variant for Generic Data Access Service  enumValues: U=URL Parameter,D=Data'
                          enum:
                          - U
                          - D
                        DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Description for Variants of a Generic DAS
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
