openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_WS_DOWNLOAD:
    post:
      tags:
      - SDCW
      operationId: /rfc/SDOK_WS_DOWNLOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BINARY_FLAG:
                  type: string
                  maxLength: 1
                DIRECTORY:
                  type: string
                  maxLength: 255
                FILE:
                  type: string
                  maxLength: 255
                FILE_SIZE:
                  type: integer
                  format: int64
                FILE_CONTENT_BINARY:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Line for binary document contents, length for upload
                FILE_CONTENT_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1022
                        description: Line for text document contents, length as during upload
              required:
              - DIRECTORY
              - FILE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FILE_CONTENT_BINARY:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Line for binary document contents, length for upload
                  FILE_CONTENT_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1022
                          description: Line for text document contents, length as during upload
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
