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: tools/spectral/.spectral.yaml
+2-14Lines changed: 2 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -73,14 +73,6 @@ rules:
73
73
functionOptions:
74
74
notMatch: "/^body$/"
75
75
76
-
xgen-no-security:
77
-
description: "Operation MUST have security definition"
78
-
severity: error
79
-
given: "#OperationObject"
80
-
then:
81
-
field: "security"
82
-
function: truthy
83
-
84
76
xgen-docs-tags-alphabetical:
85
77
message: "Tags should be defined in alphabetical order."
86
78
description: "Many documentation tools show tags in the order they are defined, so defining them not in alphabetical order can look funny to API consumers."
@@ -182,7 +174,8 @@ rules:
182
174
functionOptions:
183
175
match: "^(mms)$"
184
176
message: "'additionalServices' must be 'mms' as no other services are supported."
185
-
no-slash-before-custom-method:
177
+
178
+
no-slash-before-custom-method:
186
179
description: "Custom methods (e.g., ':applyItem') should not be preceded by a '/'."
187
180
message: "The path '{{path}}' contains a '/' before a custom method. Custom methods should not start with a '/'."
188
181
severity: error
@@ -241,11 +234,6 @@ overrides:
241
234
- "*.yaml#/components/schemas/ClusterProviderSettings/properties/providerName"# dynamic field which can't be documented
0 commit comments