This release introduces two significant additions to vacuum.
The new apply-overlay command enables non-destructive modifications to OpenAPI specifications using the OpenAPI Overlay Specification.
To use it:
vacuum apply-overlay openapi.yaml overlay.yaml modified-openapi.yaml
Additionally, the oas3-valid-schema-example rule now supports a strictMode option that detects undeclared properties in examples, catching typos like nmae instead of name, outdated examples with removed fields, and copy-paste errors with extra properties that don't exist in the schema.
Enable it in your ruleset with:
functionOptions:
strictMode: truehttps://quobix.com/vacuum/commands/apply-overlay/
https://quobix.com/vacuum/rules/examples/oas3-valid-schema-example/