API Design Patterns

API contract design conventions for FastAPI projects with Pydantic v2. Use during the design phase when planning new API endpoints, defining request/response contracts, designing pagination or filtering, standardizing error responses, or planning API versioning. Covers RESTful naming, HTTP method semantics, Pydantic v2 schema naming conventions (XxxCreate/XxxUpdate/XxxResponse), cursor-based pagination, standard error format, and OpenAPI documentation. Does NOT cover implementation details (use python-backend-expert) or system-level architecture (use system-architecture).

hieutrtr 7de9d78 3 files · 25.2 KB Updated

File contents

hieutrtr/ai1-skills/tree/main/skills/api-design-patterns commit 7de9d78211

Frequently asked questions

npx skillmds@latest add hieutrtr/api-design-patterns