Azure / Azure/azure-rest-api-specs
Incorrect Regex for resourceGroupName in WebApps
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
This would cause incorrect SDK code for the the validation.
The resource group name should follow the pattern defined in https://docs.microsoft.com/en-us/rest/api/resources/resourcegroups/createorupdate
https://github.com/Azure/azure-rest-api-specs/blob/270ba8923ce458af2b59cd66b008355676bccd49/specification/web/resource-manager/Microsoft.Web/stable/2021-02-01/WebApps.json#L26126
Contributor guide
Research direction
Start at specification/web/resource-manager/Microsoft.Web/stable/2021-02-01/WebApps.json around line 26126 and compare the resourceGroupName regex with the linked Azure Resource Groups Create or Update documentation. Update the specification so generated SDK validation follows that documented pattern, then verify the spec remains valid and the generated validation reflects the corrected constraint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100