openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWR_XML_WORKFLOW_HANDLER:
    post:
      tags:
      - SWRXML
      operationId: /rfc/SWR_XML_WORKFLOW_HANDLER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REQ_MIME_SIZE:
                  type: integer
                  format: int32
                  description: Natural Number
                REQ_HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 64
                        description: Name of iXML Binary Connector HTTP Header Field
                      VALUE:
                        type: string
                        maxLength: 192
                        description: Value of iXML Binary Connector HTTP Header Field
                REQ_HTTP:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 64
                        description: Name of iXML Binary Connector HTTP Header Field
                      VALUE:
                        type: string
                        maxLength: 192
                        description: Value of iXML Binary Connector HTTP Header Field
                REQ_MIME:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Wrapped Line of MIME Raw Data
                RES_HTTP:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 64
                        description: Name of iXML Binary Connector HTTP Header Field
                      VALUE:
                        type: string
                        maxLength: 192
                        description: Value of iXML Binary Connector HTTP Header Field
                RES_MIME:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Wrapped Line of MIME Raw Data
              required:
              - REQ_MIME_SIZE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RES_MIME_SIZE:
                    type: integer
                    format: int32
                    description: Natural Number
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Natural Number
                  REQ_HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 64
                          description: Name of iXML Binary Connector HTTP Header Field
                        VALUE:
                          type: string
                          maxLength: 192
                          description: Value of iXML Binary Connector HTTP Header Field
                  REQ_HTTP:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 64
                          description: Name of iXML Binary Connector HTTP Header Field
                        VALUE:
                          type: string
                          maxLength: 192
                          description: Value of iXML Binary Connector HTTP Header Field
                  REQ_MIME:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Wrapped Line of MIME Raw Data
                  RES_HTTP:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 64
                          description: Name of iXML Binary Connector HTTP Header Field
                        VALUE:
                          type: string
                          maxLength: 192
                          description: Value of iXML Binary Connector HTTP Header Field
                  RES_MIME:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Wrapped Line of MIME Raw Data
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
