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
In this check run, run PutRequestResponseSchemeArm appears to fail with a false positive, since the schemas are indeed identical. I believe the bug is in helper function utils.isSchemaEqual():
Even if the schemas are equal, if one of the property values is null, it will cause isSchemaEqual() to fail, which looks like a bug to me. Unless there's some reason this behavior was chosen intentionally.
The text was updated successfully, but these errors were encountered:
In this check run, run
PutRequestResponseSchemeArm
appears to fail with a false positive, since the schemas are indeed identical. I believe the bug is in helper functionutils.isSchemaEqual()
:https://github.com/Azure/azure-openapi-validator/blob/edb65591d5ab85871f880e48b2ad6302186014b8/packages/rulesets/src/spectral/functions/utils.ts
Even if the schemas are equal, if one of the property values is
null
, it will causeisSchemaEqual()
to fail, which looks like a bug to me. Unless there's some reason this behavior was chosen intentionally.The text was updated successfully, but these errors were encountered: