openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EPS_READ_BLOCK:
    post:
      tags:
      - EPSF
      summary: Read One Block From a File
      operationId: /rfc/EPS_READ_BLOCK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILE_PATH:
                  type: string
                  maxLength: 100
                RECORDS_PER_TRANSFER:
                  type: integer
                  format: int32
                EPS_BUFFER:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Container for 8000 bytes
              required:
              - FILE_PATH
              - RECORDS_PER_TRANSFER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  END_OF_FILE:
                    type: string
                    maxLength: 1
                  LAST_RECORD_LENGTH:
                    type: integer
                    format: int32
                  NUMBER_OF_RECORDS:
                    type: integer
                    format: int32
                  EPS_BUFFER:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Container for 8000 bytes
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
