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 a7ecd91 commit 5cf019fCopy full SHA for 5cf019f
tools/spectral/.spectral.yaml
@@ -122,6 +122,15 @@ rules:
122
functionOptions:
123
match: "^[A-Za-z0-9-._~:/?#\\[\\]@!\\$&'()*+,;=]*$"
124
125
+ xgen-docs-operationId-camel-case:
126
+ description: operationId should be camelCased.
127
+ given: "operationId"
128
+ severity: error
129
+ then:
130
+ function: casing
131
+ functionOptions:
132
+ type: camel
133
+
134
xgen-docs-parameter-examples-or-schema:
135
message: "No example or schema provided for {{property}}."
136
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