Azure / azure-openapi-validator

Azure Open API Validator
MIT License
47 stars 46 forks source link

`BodyTopLevelProperties` incorrectly flags on `ResourceListResult` as resource #727

Closed allenjzhang closed 4 months ago

allenjzhang commented 4 months ago

Describe the bug LintDiff incorrectly recognize a ResourceListResult as a Resource , then proceeding to compliant it is missing all of resource's properties.

To Reproduce Steps to reproduce the behavior:

Expected behavior Only flagging real resources or at least bypass xxxListResult as it is generated standard definition by TypeSpec.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

allenjzhang commented 4 months ago

dup #722