openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_WSS_TASK_GENERATE:
    post:
      tags:
      - SWF_WS_UTILITY
      operationId: /rfc/SWF_WSS_TASK_GENERATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_INTF:
                  type: object
                  properties:
                    INTFID:
                      type: string
                      maxLength: 32
                      description: Interface Definition ID
                    SPONAME:
                      type: string
                      maxLength: 120
                      description: 'Name for the Triple: Service Port Type Operation'
                    SOURCE:
                      type: string
                      maxLength: 1
                      description: 'Service Definition Source  enumValues: W=WSDL File'
                      enum:
                      - W
                    VERSION:
                      type: integer
                      format: int64
                      description: Version of an XML Cache Document
                    DIALOG:
                      type: string
                      maxLength: 1
                      description: 'WF: Indicator: Processing in dialog'
                    SRVNAME:
                      type: string
                      maxLength: 120
                      description: 'WSDL: Service Name'
                    SRVNS:
                      type: string
                      maxLength: 255
                      description: 'WSDL: Namespace URI of Service'
                    PTNAME:
                      type: string
                      maxLength: 120
                      description: 'WSDL: Port Type Name'
                    PTNS:
                      type: string
                      maxLength: 255
                      description: 'WSDL: Namespace URI of Port Types'
                    OPNAME:
                      type: string
                      maxLength: 120
                      description: 'WSDL: Operation Name'
                    INTFDOC:
                      type: string
                      format: byte
                      description: Interface Definition (XML)
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                I_SHORT:
                  type: string
                  maxLength: 12
                  description: Object Abbreviation
                I_STEXT:
                  type: string
                  maxLength: 40
                  description: Object Description
                I_UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                IT_WITEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      WITEXT:
                        type: string
                        maxLength: 120
                        description: Work Item Text
              required:
              - I_INTF
              - I_SHORT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_OBJID:
                    type: integer
                    format: int64
                    description: Object ID
                  E_OTYPE:
                    type: string
                    maxLength: 2
                    description: Object Type
                  IT_WITEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        WITEXT:
                          type: string
                          maxLength: 120
                          description: Work Item Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
