openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWR_SELECT_PROC_DEFS:
    post:
      tags:
      - SWR1
      operationId: /rfc/SWR_SELECT_PROC_DEFS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SEARCH_EXPR:
                  type: string
                  default: '*'
                  maxLength: 12
                  description: Search term
                TASKS:
                  type: array
                  items:
                    type: object
                    properties:
                      TASK_ID:
                        type: string
                        maxLength: 14
                        description: Task ID
                      TASK_DESCR:
                        type: string
                        maxLength: 40
                        description: Object Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TASKS:
                    type: array
                    items:
                      type: object
                      properties:
                        TASK_ID:
                          type: string
                          maxLength: 14
                          description: Task ID
                        TASK_DESCR:
                          type: string
                          maxLength: 40
                          description: Object Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
