File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tools/spectral/ipa/rulesets Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 description : >-
77 Collection identifiers must be in camelCase. Logic includes:<br/>
88 - All path segments that are not path parameters<br/>
9- - Only the resource identifier part before any colon in custom method paths (e.g., ' resource' in ' /resource:customMethod' )<br/>
9+ - Only the resource identifier part before any colon in custom method paths (e.g., ` resource` in ` /resource:customMethod` )<br/>
1010 - Path parameters should also follow camelCase naming<br/>
1111 - Certain values can be exempted via the ignoredValues configuration (e.g., 'v1', 'v2') that can be supplied as `ignoredValues`
1212 argument to the rule<br/>
13- - Paths with x-xgen-IPA-exception for this rule are excluded from validation<br/>
13+ - Paths with ` x-xgen-IPA-exception` for this rule are excluded from validation<br/>
1414 http://go/ipa/102
1515 message : ' {{error}} http://go/ipa/102'
1616 severity : warn
Original file line number Diff line number Diff line change 11/**
22 * Checks if the object has results property
3- * @param {* } schema
3+ * @param {Object } schema
44 * @returns true if schema object returns results property (pagination), false otherwise
55 */
66export function schemaIsPaginated ( schema ) {
@@ -11,7 +11,7 @@ export function schemaIsPaginated(schema) {
1111/**
1212 * Checks if schema is an array type of schema
1313 *
14- * @param {* } schema
14+ * @param {Object } schema
1515 * @returns
1616 */
1717export function schemaIsArray ( schema ) {
You can’t perform that action at this time.
0 commit comments