Azure / Azure/azure-rest-api-specs

AppServicePlans.json `2022-09-01`- Duplicate model name in spec

Open
#23,708 4 comments 0 reactions 0 assignees View on GitHub
App Services bug customer-reported needs-team-attention Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

https://github.com/Azure/azure-rest-api-specs/blob/b0fe1805a7e541e4d0252c01e919f0f20721b270/specification/web/resource-manager/Microsoft.Web/stable/2022-09-01/AppServicePlans.json#L175-L183

https://github.com/Azure/azure-rest-api-specs/blob/b0fe1805a7e541e4d0252c01e919f0f20721b270/specification/web/resource-manager/Microsoft.Web/stable/2022-09-01/AppServicePlans.json#L281-L289

The models for Create (PUT) and Update (PATCH) of Service Plans are different, but named the same making the parsing of the spec non-deterministic. These should have unique names within the spec.

Contributor guide

Open the contributing guide

Research direction

Start with specification/web/resource-manager/Microsoft.Web/stable/2022-09-01/AppServicePlans.json at lines 175-183 and 281-289. Compare the Create (PUT) and Update (PATCH) Service Plan models, give the differing models unique names within the spec, and confirm that parsing no longer encounters duplicate model names.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, openapi
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.