openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_EMPTY:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_EMPTY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STEP_DESCRIPTION:
                  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:
                  NEW_BLOCK_ID:
                    type: integer
                    format: int64
                    description: Name of Step or Outcome
                  NEW_STEP_NODE_ID:
                    type: integer
                    format: int64
                    description: Name of Step or Outcome
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
