This rule enforces that singleton resources do not define Create, or Delete
methods, as mandated in AEP-156.
Details
This rule looks at any message with a path variable in the URI where the path
ends in anything other than *. It assumes that this is a method operating on
a singleton resource, and complains if the method is a Create, or Delete
standard method.
Examples
Incorrect code for this rule:
Correct code for this rule:
Disabling
If you need to violate this rule, use a leading comment above the method.
Remember to also include an aep.dev/not-precedent comment explaining why.
If you need to violate this rule for an entire file, place the comment at the
top of the file.