openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_UNTIL_LOOP:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_UNTIL_LOOP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STEP_DESCRIPTION:
                  type: object
                  properties:
                    DESCRIPT:
                      type: string
                      maxLength: 80
                      description: Name of Step or Outcome
                    EXPRESS_1:
                      type: string
                      maxLength: 255
                      description: First operand for arithmetic operation
                    IF_OPERA:
                      type: string
                      maxLength: 2
                      description: 'Relational operator for condition and until loop  enumValues: <>=NE: Not equal,<=LT: Smaller,==EQ: Equal,>=GT: Greater,>==GE: Greater or equal,<==LE: Smaller or equal'
                      enum:
                      - <>
                      - <
                      - =
                      - '>'
                      - '>='
                      - <=
                    EXPRESS_2:
                      type: string
                      maxLength: 255
                      description: Second operand for arithmetic operation
                    TRUE_EVT:
                      type: string
                      maxLength: 80
                      description: Name of Step or Outcome
                    FALSE_EVT:
                      type: string
                      maxLength: 80
                      description: Name of Step or Outcome
                STEP_NODE_ID:
                  type: integer
                  format: int64
                STEP_PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: 'Attribute: Name'
                      VALUE:
                        type: string
                        description: 'Attributes: Value'
                      XVALUE:
                        type: string
                        format: byte
                        description: 'Attributes: Value'
              required:
              - STEP_DESCRIPTION
              - STEP_NODE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BODY_STEP_NODE_ID:
                    type: integer
                    format: int64
                    description: Table of Name Value Pairs
                  EXIT_STEP_NODE_ID:
                    type: integer
                    format: int64
                    description: Table of Name Value Pairs
                  LOOP_STEP_NODE_ID:
                    type: integer
                    format: int64
                    description: Table of Name Value Pairs
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
