Add interactive API docs at /docs endpoint

Swagger UI served via CDN for browsing OpenAPI spec.

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

View File

@@ -80,6 +80,7 @@ All detectors support: `AGGREGATOR_URL`, `CHECK_INTERVAL`, `THRESHOLD_WARNING`,
| `/wake` | POST | Exit sleep mode |
| `/status` | GET | Current state JSON |
| `/events` | GET | List active events |
| `/docs` | GET | Interactive API documentation (Swagger UI) |
### `/notify` Endpoint