You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule checks for the presence of id, in the above example the $ref item contains the id, the rule continues to try and validate the second item which fails and throws the alert.
Expected behavior: schema passes as one of the items meets the id requirment.
The text was updated successfully, but these errors were encountered:
Looking into this... Currently the rule has been lowered to warn to alert user to verify the error, but not force a block.
ghost
changed the title
Rule: resource-object-id-required triggering on schemas using 'allOf'
resource-object-id-required triggering on schemas using 'allOf'
Jan 24, 2024
Rule:
resource-object-id-required
is triggering on allOf items that fail the rule even though another item passes the check:Example doc snippet:
The rule checks for the presence of
id
, in the above example the$ref
item contains theid
, the rule continues to try and validate the second item which fails and throws the alert.Expected behavior: schema passes as one of the items meets the
id
requirment.The text was updated successfully, but these errors were encountered: