You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/api/rules/aip-126-enums.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,5 +3,5 @@
3
3
Reference: https://kong-aip.netlify.app/aip/126/
4
4
5
5
- All enum wire values must be `snake_case` (enforced as an error by the `casing-aip-errors` linter rule).
6
-
-Every enum must define an `unknown` member as the zero/default value.
6
+
-Prefer defining an `unknown` member as the zero/default value. This is a recommendation, not a requirement — most domains (charges, subscriptions, currencies) omit it, so do not flag its absence as a violation.
7
7
- Prefer enums over booleans for two-state fields — this allows a third state to be added later without a breaking change.
0 commit comments