When to Use
Add this to ensure every API endpoint generated or modified includes clear documentation of how consumers interact with it, what data flows through it, and what contract it exposes.Rule Definition
Name — Document API Consumer Paths Description — paste this into the rule description field on the platform:How It Works
- Add this rule to your project on the platform
- Every generated API endpoint includes contract documentation inline
- Data transformations and side effects are annotated at the call site
- Consumer relationships are noted when known
- Code review validates that all endpoints have complete contract documentation