Skip to content

Commit 361ba56

Browse files
committed
Updated API from documentation release
1 parent 4880d2d commit 361ba56

File tree

9 files changed

+995
-5
lines changed

9 files changed

+995
-5
lines changed

api-specs/api/ruleset.xml

Lines changed: 267 additions & 0 deletions
Large diffs are not rendered by default.

api-specs/checkout/ruleset.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,24 @@
3333
<option type="exclude">securedConfiguration</option>
3434
</options>
3535
</rule>
36+
<rule>
37+
<name>com.commercetools.rmf.validators.EnumValuePascalCaseRule</name>
38+
<options>
39+
<!-- EnumTypeName:enumValue -->
40+
<option type="exclude">ReferenceTypeId:cart</option>
41+
<option type="exclude">ReferenceTypeId:order</option>
42+
<option type="exclude">ReferenceTypeId:payment</option>
43+
<option type="exclude">ReferenceTypeId:application</option>
44+
<option type="exclude">ReferenceTypeId:payment-integration</option>
45+
<option type="exclude">ReferenceTypeId:deployment</option>
46+
<option type="exclude">Region:europe-west1.gcp</option>
47+
<option type="exclude">Region:us-central1.gcp</option>
48+
<option type="exclude">Region:australia-southeast1.gcp</option>
49+
<option type="exclude">PaymentIntentOperation:capturePayment</option>
50+
<option type="exclude">PaymentIntentOperation:refundPayment</option>
51+
<option type="exclude">PaymentIntentOperation:cancelPayment</option>
52+
<option type="exclude">PaymentIntentOperation:reversePayment</option>
53+
</options>
54+
</rule>
3655
</rules>
3756
</ruleset>

api-specs/connect/ruleset.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,44 @@
3636
<option type="exclude">securedConfiguration</option>
3737
</options>
3838
</rule>
39+
<rule>
40+
<name>com.commercetools.rmf.validators.EnumValuePascalCaseRule</name>
41+
<options>
42+
<!-- EnumTypeName:enumValue -->
43+
<option type="exclude">DeploymentLogSeverity:DEFAULT</option>
44+
<option type="exclude">DeploymentLogSeverity:DEBUG</option>
45+
<option type="exclude">DeploymentLogSeverity:INFO</option>
46+
<option type="exclude">DeploymentLogSeverity:NOTICE</option>
47+
<option type="exclude">DeploymentLogSeverity:WARNING</option>
48+
<option type="exclude">DeploymentLogSeverity:ERROR</option>
49+
<option type="exclude">DeploymentLogSeverity:CRITICAL</option>
50+
<option type="exclude">DeploymentLogSeverity:ALERT</option>
51+
<option type="exclude">DeploymentLogSeverity:EMERGENCY</option>
52+
<option type="exclude">Region:europe-west1.gcp</option>
53+
<option type="exclude">Region:us-central1.gcp</option>
54+
<option type="exclude">Region:australia-southeast1.gcp</option>
55+
<option type="exclude">IntegrationType:tax</option>
56+
<option type="exclude">IntegrationType:marketplace</option>
57+
<option type="exclude">IntegrationType:oms</option>
58+
<option type="exclude">IntegrationType:psp</option>
59+
<option type="exclude">IntegrationType:pim</option>
60+
<option type="exclude">IntegrationType:promotion</option>
61+
<option type="exclude">IntegrationType:search</option>
62+
<option type="exclude">IntegrationType:erp</option>
63+
<option type="exclude">IntegrationType:crm</option>
64+
<option type="exclude">IntegrationType:email</option>
65+
<option type="exclude">IntegrationType:analytics</option>
66+
<option type="exclude">IntegrationType:shipping</option>
67+
<option type="exclude">IntegrationType:giftcard</option>
68+
<option type="exclude">IntegrationType:other</option>
69+
<option type="exclude">DeploymentType:preview</option>
70+
<option type="exclude">DeploymentType:sandbox</option>
71+
<option type="exclude">DeploymentType:production</option>
72+
<option type="exclude">IsPreviewable:true</option>
73+
<option type="exclude">IsPreviewable:false</option>
74+
<option type="exclude">IsPreviewable:pending</option>
75+
<option type="exclude">IsPreviewable:none</option>
76+
</options>
77+
</rule>
3978
</rules>
4079
</ruleset>

api-specs/frontend-api/ruleset.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,13 @@
5252
<option type="exclude">PageFolder:isDynamic</option>
5353
</options>
5454
</rule>
55+
<rule>
56+
<name>com.commercetools.rmf.validators.EnumValuePascalCaseRule</name>
57+
<options>
58+
<!-- EnumTypeName:enumValue -->
59+
<option type="exclude">Environment:production</option>
60+
<option type="exclude">Environment:development</option>
61+
</options>
62+
</rule>
5563
</rules>
5664
</ruleset>

0 commit comments

Comments
 (0)