openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DIAG_GET_FILE_LIST:
    post:
      tags:
      - SADY
      operationId: /rfc/DIAG_GET_FILE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                IV_FILEID:
                  type: string
                  maxLength: 255
                  description: 'SAP DB: DBMServer command'
                ET_FILE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      KEYNAME:
                        type: string
                        maxLength: 80
                        description: 'SAP DB: Keyname for DBM file_getlist'
                      MODE:
                        type: string
                        maxLength: 10
                        description: 'SAP DB: Mode for DBM file_getlist'
                      SIZE:
                        type: integer
                        format: int64
                        description: 'SAP DB: File Size for DBM file_getlist'
                      DATE:
                        type: string
                        format: date
                        description: Date
                      TIME:
                        type: string
                        maxLength: 6
                        description: SAP DB Time (6 Places in SAP Layout)
                      COMMENT:
                        type: string
                        maxLength: 80
                        description: 'SAP DB: File Description for DBM file_getlist'
                      FILENAME:
                        type: string
                        maxLength: 100
                        description: 'SAP DB: File Name'
              required:
              - IV_FILEID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_FILE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        KEYNAME:
                          type: string
                          maxLength: 80
                          description: 'SAP DB: Keyname for DBM file_getlist'
                        MODE:
                          type: string
                          maxLength: 10
                          description: 'SAP DB: Mode for DBM file_getlist'
                        SIZE:
                          type: integer
                          format: int64
                          description: 'SAP DB: File Size for DBM file_getlist'
                        DATE:
                          type: string
                          format: date
                          description: Date
                        TIME:
                          type: string
                          maxLength: 6
                          description: SAP DB Time (6 Places in SAP Layout)
                        COMMENT:
                          type: string
                          maxLength: 80
                          description: 'SAP DB: File Description for DBM file_getlist'
                        FILENAME:
                          type: string
                          maxLength: 100
                          description: 'SAP DB: File Name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
