openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_STEP_CONTAINER:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_STEP_CONTAINER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTAINER_ELEMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      EDITELEM:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      DESCRIPT:
                        type: string
                        maxLength: 20
                        description: Name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      TABELEM:
                        type: string
                        maxLength: 1
                        description: Multiline element
                      REFTYPE:
                        type: string
                        maxLength: 1
                        description: Dictionary
                      REFSTRUCT:
                        type: string
                        maxLength: 30
                        description: Reference table
                      REFFIELD:
                        type: string
                        maxLength: 30
                        description: Reference field
                      MCODE:
                        type: string
                        maxLength: 30
                        description: Search Help (Formerly Matchcode)
                      REFOBJTYPE:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      REFOBJCAT:
                        type: string
                        maxLength: 2
                        description: Category of Objects in Persistent Object References
                      ELEMTYPE:
                        type: string
                        maxLength: 1
                        description: Element type
                      OBLIGIMP:
                        type: string
                        maxLength: 1
                        description: Required
                      DDIC:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
                STEP_NODE_ID:
                  type: integer
                  format: int64
              required:
              - CONTAINER_ELEMENTS
              - STEP_NODE_ID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
