Skip to content

Commit 81b8a22

Browse files
CLOUDP-284437: Add Spectral rule to ensure operationId uses camelcase
1 parent 5cf019f commit 81b8a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/spectral/.spectral.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ rules:
124124

125125
xgen-docs-operationId-camel-case:
126126
description: operationId should be camelCased.
127-
given: "operationId"
127+
given: "$.operationId"
128128
severity: error
129129
then:
130130
function: casing

0 commit comments

Comments
 (0)