openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_SI_INITIALIZE:
    post:
      tags:
      - SWWP
      operationId: /rfc/SWW_SI_INITIALIZE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                METHOD:
                  type: string
                  maxLength: 32
                  description: Method to be executed
                OBJECT_IN:
                  type: object
                  properties:
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                    OBJTYPE:
                      type: string
                      maxLength: 10
                      description: Object Type
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Object key
                    DESCRIBE:
                      type: string
                      maxLength: 10
                      description: Describe flag
                WI_ID:
                  type: integer
                  format: int64
                  description: ID of work item created
              required:
              - METHOD
              - OBJECT_IN
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECT_OUT:
                    type: object
                    properties:
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      DESCRIBE:
                        type: string
                        maxLength: 10
                        description: Describe flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
