Closed cataggar closed 9 months ago
This is not really a false positive. As a sibling property of $ref
, default
should be ignored and thus is "not specified" in the latter case. Also note that default
is not one of the exceptions to this rule in autorest.
That makes sense. I opened up https://github.com/Azure/typespec-azure/issues/3933.
I am working on https://github.com/Azure/azure-rest-api-specs-pr/pull/15631 and have false positives for rule
DefaultValueChanged
.It is claiming a different default value for
definitions.PrivateCloudUpdateProperties.properties.internet
for:Before:
After:
In both cases, it is
"default": "Disabled"
.