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

@@ -191,8 +191,9 @@ automation:
| `/notify` | POST | Simple notification `{"message": "", "duration": 5}` |
| `/sleep` | POST | Enter sleep mode |
| `/wake` | POST | Exit sleep mode |
| `/docs` | GET | Interactive API documentation (Swagger UI) |
Full API documentation available in [openapi.yaml](openapi.yaml) (OpenAPI 3.0 spec).
Full API documentation available at [/docs](http://localhost:5100/docs) or in [openapi.yaml](openapi.yaml).
## Personality