Litestar Routing
Use this skill for route handlers, Controllers, Routers, domain clustering, and endpoint module layout.
Code Style Rules
- Cluster Controllers by domain, not HTTP method.
- Keep handlers thin: parse request data, call a service, return a DTO or response object.
- Put shared path, dependencies, guards, and tags on the Controller class.
- Use typed path parameters and explicit return annotations.
Quick Reference
- Controller and route patterns: [routing.md](references
[Description truncada. Veja o README completo no GitHub.]