Add OpenAPI 3.0 documentation for API

Documents all endpoints with request/response schemas and examples.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 16:28:50 -06:00
parent 8ad86d1c6e
commit 4262865520
4 changed files with 405 additions and 2 deletions

View File

@@ -172,10 +172,11 @@ Use in automations:
## File Structure
```
├── kao.py # Unified entry point
├── kao.py # Unified entry point
├── aggregator.py # Event broker/API server
├── index.html # OLED-optimized frontend
├── config.json # Runtime configuration
├── openapi.yaml # API documentation (OpenAPI 3.0)
├── detectors/
│ ├── disk_space.py
│ ├── cpu.py