Closed ATRAN2 closed 3 years ago
Hey @macisamuele if you have some extra time, can you take a look at this PR one more time? Only if you're not busy, I can ping some other folks otherwise Thanks!
lgtm
Sorry for the delay on the response :)
Oh no problem, thank you for reviewing the change!
Description
Fix the rule so that it only triggers when
additionalProperties
is set toFalse
as the rule describes. Before this rule would trigger upon any change toadditionalProperties
, even if it's just a change in shape of anadditionalProperties
object which led to a lot of false alarms.additionalProperties
can be an object, and changing it can be a backwards compatible operation.Notes for the reviewer
additional_properties_diff.additionalProperties
has two fields,old
andnew
. Those contain theadditionalProperties
values between the old spec and new spec respectively for a diff in anadditionalProperties
object.