Azure / Azure/azure-rest-api-specs

WebRP has incorrect typing of resources in swagger, leaving to poor intellisense experience in vscode

Open
#15,069 1 comment 0 reactions 0 assignees View on GitHub
Service Attention Web Apps
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.