Skip to content

Engineering rules — Theme: HTTP API ​

Scope: the FastAPI HTTP surface — path operation functions, routers, dependency injection, response payloads.

Theme rules ​

Path operations and routers ​

#RuleStatus
001Path operation functions stay thinApproved
002Route collaborators come from the containerApproved
003Routers mount through the version and tag surfaceApproved
004Response payloads use the single annotation mechanismProposed

Out of scope for this theme ​

You own what ships.