daveshanley / vacuum

vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.
https://quobix.com/vacuum
MIT License
488 stars 39 forks source link

Changes to core/casing function that allow matching of objects/arrays and works for recursive JSONPath matches #511

Closed lobocv closed 1 week ago

lobocv commented 1 week ago
  1. Allows it to match on objects and arrays. When it does, it applies the casing rule to all field names (for objects) and all elements (for arrays)
  2. Allowed casing to work on multiple node matches so that we can use recursive JSONPath matching such as '$..properties'