Repository navigation
v0.1.22
Highlights
Upgraded to oasdiff v1.36.0
Every action now runs tufin/oasdiff:v1.36.0 (#211). What a workflow author sees:
- Inline annotations land on the changed line in a JSON spec. Source locations used to need a YAML spec, so a JSON one produced annotations attached to the file with no line or column, and the side-by-side review linked from the PR comment showed no source text at all. Both now behave as they do for YAML. One limit: positions are only as fine as the document's line breaks, so a minified spec with everything on one line puts every annotation on line 1. Run it through
jq .if your specs are generated. - Sunset and deprecation annotations point at the field they are about. Six sunset ids annotated the
deprecatedline rather than thex-sunsetdate they complain about, and a parameter's deprecation finding looked fordeprecatedin the parameter's schema, so it landed on the operation line or carried no line at all. - Adding an
allOfbranch to a request is an error again, onrequest-body-all-of-addedandrequest-property-all-of-added. Both were reported as warnings with a comment suggesting another branch might still keep a constraint that was dropped, which cannot happen: adding a branch only narrows what a request may send. A job that fails on error will now fail on these. - New fingerprints for findings inside an
allOf,anyOforoneOfbranch. The branch name no longer ends in a separator, and the name is part of the fingerprint, so a stored approval for one of these changes is requested once more. validatereturns its findings in the same order every run, sorted by file, line and column, so a step that compares stored reports stops seeing a reshuffle on every push. A spec withcallbackscan also report findings it did not before, andmultiple-of-not-positiveis nowschema-multiple-of-not-positive.- The
diffaction takes--exclude-elements tags, which drops tag changes fromdiffandsummary, both the tags an operation is listed under and the document's own tag definitions.
Also in the image: git revisions work on a repository mounted from the host, so the rev:path syntax no longer fails with "detected dubious ownership" on a self-hosted runner.
Full Changelog: v0.1.21...v0.1.22