We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a420df0 commit 1bdea9eCopy full SHA for 1bdea9e
tools/spectral/.spectral.yaml
@@ -122,6 +122,16 @@ rules:
122
functionOptions:
123
match: "^[A-Za-z0-9-._~:/?#\\[\\]@!\\$&'()*+,;=]*$"
124
125
+ xgen-docs-operationId-camel-case:
126
+ description: operationId should be camelCased.
127
+ given: "$.paths[*]..operationId"
128
+ severity: error
129
+ message: "Operation ID should be camelCase: {{value}}."
130
+ then:
131
+ function: casing
132
+ functionOptions:
133
+ type: camel
134
+
135
xgen-docs-parameter-examples-or-schema:
136
message: "No example or schema provided for {{property}}."
137
description: "Without providing a well defined schema or example(s) an API consumer will have a hard time knowing how to interact with this API."
0 commit comments