openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWI_DESCRIPTION_FOR_TASK:
    post:
      tags:
      - SWI_TASK_ANALYSIS
      operationId: /rfc/SWI_DESCRIPTION_FOR_TASK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TASKS:
                  type: array
                  items:
                    type: object
                    properties:
                      TASKTYP:
                        type: string
                        maxLength: 2
                        description: Standard Object Type
                      TASK:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                TASKS_DESC:
                  type: array
                  items:
                    type: object
                    properties:
                      TASKTYP:
                        type: string
                        maxLength: 2
                        description: Task Type
                      TASK:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TASKS:
                    type: array
                    items:
                      type: object
                      properties:
                        TASKTYP:
                          type: string
                          maxLength: 2
                          description: Standard Object Type
                        TASK:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                  TASKS_DESC:
                    type: array
                    items:
                      type: object
                      properties:
                        TASKTYP:
                          type: string
                          maxLength: 2
                          description: Task Type
                        TASK:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
