@quobix/vacuum 0.35.1 → 0.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -570,7 +570,13 @@ recognizes a compressed report file and will deal with it automatically when rea
|
|
|
570
570
|
|
|
571
571
|
## Selecting property names in custom rules
|
|
572
572
|
|
|
573
|
-
Use quoted bracket notation for JSONPath property names with special characters, for example `['$ref']` and `['application/json']`.
|
|
573
|
+
Use quoted bracket notation for JSONPath property names with special characters, for example `['$ref']` and `['application/json']`. A single leading backtick also escapes a member name in dot notation or an unquoted bracket selector:
|
|
574
|
+
|
|
575
|
+
~~~text
|
|
576
|
+
$.paths.*.*.requestBody.content.`application/json.schema.`$ref
|
|
577
|
+
~~~
|
|
578
|
+
|
|
579
|
+
There is no closing backtick; a trailing backtick becomes part of the property name. Use quoted bracket notation for names that contain path separators or whitespace, and for properties inside filters. Quoted names keep literal backticks unchanged.
|
|
574
580
|
|
|
575
581
|
To inspect a `$ref` property itself, set `resolved: false`. With `resolved: true`, rules inspect the referenced schema after resolution.
|
|
576
582
|
|