openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_SECONDARY_METHODS:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_SECONDARY_METHODS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STEP_NODE_ID:
                  type: integer
                  format: int64
                STEP_DESCRIPTION_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONT_OBJ:
                        type: string
                        maxLength: 32
                        description: Container Element for Secondary/Before/After Methods
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Method
                      METHOD_TYP:
                        type: string
                        maxLength: 1
                        description: 'Flag for method type  enumValues: B=Before method (synchronously before main method),X=Main method,""=Secondary method (parallel to main method),A=After method (synchronously after main method)'
                        enum:
                        - B
                        - X
                        - ''
                        - A
              required:
              - STEP_NODE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STEP_DESCRIPTION_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONT_OBJ:
                          type: string
                          maxLength: 32
                          description: Container Element for Secondary/Before/After Methods
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Method
                        METHOD_TYP:
                          type: string
                          maxLength: 1
                          description: 'Flag for method type  enumValues: B=Before method (synchronously before main method),X=Main method,""=Secondary method (parallel to main method),A=After method (synchronously after main method)'
                          enum:
                          - B
                          - X
                          - ''
                          - A
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
