openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RZL_READ_DIR_LOCAL:
    post:
      tags:
      - SAL3
      summary: Read local directory
      operationId: /rfc/RZL_READ_DIR_LOCAL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NAME:
                  type: string
                  maxLength: 200
                  description: Dataset name
                FILE_TBL:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: File name
                      SIZE:
                        type: integer
                        format: int64
                        description: Size of a file in bytes
              required:
              - NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FILE_TBL:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: File name
                        SIZE:
                          type: integer
                          format: int64
                          description: Size of a file in bytes
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
