openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PFL_CHECK_DIRECTORY:
    post:
      tags:
      - SPFC
      summary: Checks whether a directory exists
      operationId: /rfc/PFL_CHECK_DIRECTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIRECTORY:
                  type: string
                  maxLength: 80
                  description: Name of directory
                FILNAME:
                  type: string
                  default: ' '
                  maxLength: 80
                  description: Write authorization for directory
                WRITE_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Write authorization for directory
              required:
              - DIRECTORY
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
