BMAD-METHOD/.claude/rules/cursorrules-file-cursor-ai-.../fastapi-components-and-vali...

6 lines
327 B
Plaintext

---
description: Specifies the use of functional components and Pydantic models for input validation in FastAPI routes.
globs: **/routers/*.py
---
- Use functional components (plain functions) and Pydantic models for input validation and response schemas.
- Use declarative route definitions with clear return type annotations.