openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_WALK_THRU_TEST:
    post:
      tags:
      - CRFC
      operationId: /rfc/RFC_WALK_THRU_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TEST_IN:
                  type: object
                  properties:
                    RFCFLOAT:
                      type: number
                      description: Float field
                    RFCCHAR1:
                      type: string
                      maxLength: 1
                      description: Character field of length 1
                    RFCINT2:
                      type: integer
                      format: int32
                      description: INT2 field
                    RFCINT1:
                      type: integer
                      format: int32
                      description: INT1 field
                    RFCCHAR4:
                      type: string
                      maxLength: 4
                      description: Character field of length 4
                    RFCINT4:
                      type: integer
                      format: int32
                      description: INT4 field
                    RFCHEX3:
                      type: string
                      format: byte
                      description: HEX field of length 3
                    RFCCHAR2:
                      type: string
                      maxLength: 2
                      description: Character field of length 2
                    RFCTIME:
                      type: string
                      maxLength: 6
                      description: Validity Period
                    RFCDATE:
                      type: string
                      format: date
                      description: Date field
                    RFCDATA1:
                      type: string
                      maxLength: 50
                      description: Comment
                    RFCDATA2:
                      type: string
                      maxLength: 50
                      description: Comment
                DESTINATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                LOG:
                  type: array
                  items:
                    type: object
                    properties:
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCWHOAMI:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      RFCLOG:
                        type: string
                        maxLength: 70
                        description: Log message
              required:
              - TEST_IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TEST_OUT:
                    type: object
                    properties:
                      RFCFLOAT:
                        type: number
                        description: Float field
                      RFCCHAR1:
                        type: string
                        maxLength: 1
                        description: Character field of length 1
                      RFCINT2:
                        type: integer
                        format: int32
                        description: INT2 field
                      RFCINT1:
                        type: integer
                        format: int32
                        description: INT1 field
                      RFCCHAR4:
                        type: string
                        maxLength: 4
                        description: Character field of length 4
                      RFCINT4:
                        type: integer
                        format: int32
                        description: INT4 field
                      RFCHEX3:
                        type: string
                        format: byte
                        description: HEX field of length 3
                      RFCCHAR2:
                        type: string
                        maxLength: 2
                        description: Character field of length 2
                      RFCTIME:
                        type: string
                        maxLength: 6
                        description: Validity Period
                      RFCDATE:
                        type: string
                        format: date
                        description: Date field
                      RFCDATA1:
                        type: string
                        maxLength: 50
                        description: Comment
                      RFCDATA2:
                        type: string
                        maxLength: 50
                        description: Comment
                  DESTINATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                  LOG:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCWHOAMI:
                          type: string
                          maxLength: 32
                          description: Name of Current Application Server
                        RFCLOG:
                          type: string
                          maxLength: 70
                          description: Log message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
