Skip to content

Commit 86a80fe

Browse files
committed
Updated API from documentation release
1 parent 361ba56 commit 86a80fe

File tree

8 files changed

+65
-932
lines changed

8 files changed

+65
-932
lines changed

api-specs/api/ruleset.xml

Lines changed: 26 additions & 262 deletions
Large diffs are not rendered by default.

api-specs/checkout/ruleset.xml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,10 @@
3636
<rule>
3737
<name>com.commercetools.rmf.validators.EnumValuePascalCaseRule</name>
3838
<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>
39+
<!-- EnumTypeName -->
40+
<option type="exclude">ReferenceTypeId</option>
41+
<option type="exclude">Region</option>
42+
<option type="exclude">PaymentIntentOperation</option>
5343
</options>
5444
</rule>
5545
</rules>

api-specs/connect/ruleset.xml

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -39,40 +39,12 @@
3939
<rule>
4040
<name>com.commercetools.rmf.validators.EnumValuePascalCaseRule</name>
4141
<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>
42+
<!-- EnumTypeName -->
43+
<option type="exclude">DeploymentLogSeverity</option>
44+
<option type="exclude">Region</option>
45+
<option type="exclude">IntegrationType</option>
46+
<option type="exclude">DeploymentType</option>
47+
<option type="exclude">IsPreviewable</option>
7648
</options>
7749
</rule>
7850
</rules>

api-specs/frontend-api/ruleset.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@
5555
<rule>
5656
<name>com.commercetools.rmf.validators.EnumValuePascalCaseRule</name>
5757
<options>
58-
<!-- EnumTypeName:enumValue -->
59-
<option type="exclude">Environment:production</option>
60-
<option type="exclude">Environment:development</option>
58+
<!-- EnumTypeName -->
59+
<option type="exclude">Environment</option>
6160
</options>
6261
</rule>
6362
</rules>

0 commit comments

Comments
 (0)