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
The Operation ID must start with the verb “list” and should be followed by a noun or compound noun.
213
+
The noun(s) in the Operation ID should be the collection identifiers from the resource identifier in singular form, where the last noun is in plural form.
214
+
215
+
##### Implementation details
216
+
Rule checks for the following conditions:
217
+
- Applies only to GET methods on resource collection paths
218
+
- Ignores singleton resources
219
+
- Generates the expected OperationId given the resource identifier
220
+
- Confirms that the existing operationId is compliant with generated IPA Compliant OperationId
221
+
196
222
197
223
198
224
### IPA-106
@@ -273,6 +299,18 @@ Rule checks for the following conditions:
273
299
- Ignores resources without a Get method
274
300
- Paths with `x-xgen-IPA-exception` for this rule are excluded from validation
The Operation ID must start with the custom method verb (the custom method path section delimited by the colon (:) character) and should be followed by a noun or compound noun.
503
+
If the custom Operation ID has a verb + noun, the Operation ID should end with the noun.
504
+
The noun(s) in the Operation ID should be the collection identifiers from the resource identifier.
505
+
The noun(s) in the Operation ID should be the collection identifiers from the resource identifier in singular form, where the last noun:
506
+
- Is in plural form if the method applies to a collection of resources
507
+
- Is in singular form if the method applies to a single resource
508
+
509
+
##### Implementation details
510
+
Rule checks for the following conditions:
511
+
- Applies only to paths containing custom method identifiers (with colon format)
512
+
- Generates the expected OperationId given the resource identifier and the method name portion following the colon
513
+
- Confirms that the existing operationId is compliant with generated IPA Compliant OperationId
0 commit comments