Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LintDiff did not catch anonymous model in ARM swagger #573

Open
weidongxu-microsoft opened this issue Aug 15, 2023 · 0 comments
Open

LintDiff did not catch anonymous model in ARM swagger #573

weidongxu-microsoft opened this issue Aug 15, 2023 · 0 comments

Comments

@weidongxu-microsoft
Copy link
Member

Describe the bug
PR Azure/azure-rest-api-specs#24998 contains Swagger with anonymous model

There should be a rule to catch that Azure/azure-rest-api-specs#24998, but it seems not work in above case.

CI run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2998970&view=logs&j=0574a2a6-2d0a-5ec6-40e4-4c6e2f70bea2&t=80c3e782-49f0-5d1c-70dd-cbee57bdd0c7

To Reproduce
Steps to reproduce the behavior:
Run LintDiff on https://github.com/Azure/azure-rest-api-specs/blob/52f765effde90f870a7edfd708d97918dbda82c6/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-07-01-preview/virtualNetworks.json

Expected behavior
LintDiff fail with error on anonymous model.

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

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22] UnifiedPipeline 0.218.0

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant