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
Describe the bug
Swagger LintDiff is incorrectly flagging TrackedResources with the TagsAreNotAllowedForProxyResources rule. These swaggers are auto generated using TypeSpecTrackedResource function. The reason this check is looking at these files is because there is no location property for this tracked resource, however this is generated via TypeSpec.
@tejaswiMinnu, @rkmanda: Given the number of specs hitting errors from this rule, are you sure the rule is correct? If so, what do these specs need to change to comply with the rule?
Describe the bug
Swagger LintDiff is incorrectly flagging TrackedResources with the TagsAreNotAllowedForProxyResources rule. These swaggers are auto generated using TypeSpec
TrackedResource
function. The reason this check is looking at these files is because there is no location property for this tracked resource, however this is generated via TypeSpec.To Reproduce
Link to PR with this error: https://github.com/Azure/azure-rest-api-specs-pr/pull/19487/checks?check_run_id=29804223056
Related Teams discussion: https://teams.microsoft.com/l/message/19:[email protected]/1725583802723?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&parentMessageId=1725583802723&teamName=Azure%20SDK&channelName=API%20Spec%20Review&createdTime=1725583802723
Expected behavior
Check should not flag tracked resources with this rule.
Screenshots
Desktop (please complete the following information):
N/A
Linter Rule
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: