LintDiff did not catch anonymous model in ARM swagger
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- openapi, typescript
Research direction
Start by running LintDiff against specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-07-01-preview/virtualNetworks.json at the referenced revision and compare its result with the anonymous model at lines 421-446. Trace the anonymous-model validation rule and the CI run details, then add coverage showing that this input fails with the expected error.
Written by the indexing model from the issue text.
Description
Describe the bug
PR https://github.com/Azure/azure-rest-api-specs/pull/24998 contains Swagger with anonymous model
There should be a rule to catch that https://github.com/Azure/azure-rest-api-specs/pull/24998, but it seems not work in above case.
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.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 57
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-openapi-validator
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Azure/azure-openapi-validator#235 ·
-
Azure/azure-openapi-validator#849 · 1 assignee ·
-
Azure/azure-openapi-validator#835 · 1 assignee ·
-
Azure/azure-openapi-validator#812 · 3 comments · 1 assignee ·
-
Azure/azure-openapi-validator#809 · 2 comments · 1 assignee ·
All issues in Azure/azure-openapi-validator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·