SAT: Assert that additionalProperties: false
is not specified in json schemas
#14600
Labels
additionalProperties: false
is not specified in json schemas
#14600
(more context in parent issue #14097)
Following up on #14196, to encode this going forward we should add checks in the SAT to prevent
additionalProperties: false
.From the JSON Schema docs,
additionalProperties
does not necessarily have to be a boolean, so we should just check if it's set and its value is anything other thantrue
.Acceptance criteria
additionalProperties
set to anything other thantrue
fails SATadditionalProperties
set to anything other thantrue
fails SATThe text was updated successfully, but these errors were encountered: