1 parent 9fc0172 commit 8d82224Copy full SHA for 8d82224
1 file changed
app/routes/__init__.py
@@ -1 +1,10 @@
1
-"""Route package."""
+"""Routes: the HTTP view layer.
2
+
3
+One FastAPI router per area — ``auth``, ``account``, ``conversations``,
4
+``billing``, ``secrets`` — plus shared dependencies in ``limits``
5
+(rate-limit guards). These modules are deliberately thin: they wire
6
+HTTP (path/verb, dependencies, status codes, response schemas) and
7
+delegate every decision to ``app.controllers``. A controller refuses
8
+work by raising a ``DomainError``, which ``app.main`` renders as the
9
+matching HTTP response, so routes never contain business rules.
10
+"""
0 commit comments