Azure / Azure/azure-rest-api-specs
WebRP has incorrect typing of resources in swagger, leaving to poor intellisense experience in vscode
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
See https://github.com/Azure/bicep/issues/3368.
In particular, Microsoft.Web/serverfarms should be serverFarms. There might be others as well.
This is important for consistency but also for tooling - with the current incorrect typing, intellisense doesn't return any results in vscode if user type "farms". Even if vscode changes this behavior, serverfarms would end up at the bottom of the intellisense list. If it were correctly capitalized as 'serverFarms', it would end up at the top where it should be.
Contributor guide
Research direction
Start with the linked Azure Bicep issue and inspect the WebRP Swagger resource definitions for Microsoft.Web/serverfarms. Check for other incorrectly cased resource names, then verify that serverFarms and any related corrections produce the expected VS Code IntelliSense ordering and lookup behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100