-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
executable file
·59 lines (55 loc) · 1.78 KB
/
openapi.yaml
File metadata and controls
executable file
·59 lines (55 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
openapi: 3.0.3
info:
title: ShowFiles
version: 1.0.0
description: Terminal file manager — schema definitions for state and file objects
# No HTTP paths — event-driven application
paths: {}
components:
schemas:
UIState:
type: object
description: Application UI state stored in ui-state-repository
required: [key, selection, totalFiles, selectedName, prevName, previewScroll, currentPath]
properties:
key:
type: string
description: Repository key (always "main")
selection:
type: integer
description: Zero-based index of the currently selected file
totalFiles:
type: integer
description: Total number of entries in the current directory
selectedName:
type: string
description: Name of the currently selected file
prevName:
type: string
description: Name of the previously selected file (for marker reset)
previewScroll:
type: integer
description: Preview panel vertical scroll offset in lines
currentPath:
type: string
description: Current directory path being browsed
FileItem:
type: object
description: A directory entry stored in file-list-repository
required: [name, path, isFile, marker, idx]
properties:
name:
type: string
description: File or directory name
path:
type: string
description: Full path
isFile:
type: boolean
description: True for files, false for directories
marker:
type: string
description: Selection marker (" " or "▶")
idx:
type: integer
description: Sequential index for idx-based retrieval