Azure / Azure/azure-rest-api-specs
The lowercase "resourcegroups" and "microsoft.keyvault" are returned by the Labs_Get API for the value of "VaultName" in response body
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
When calling [Labs_Get API](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json#L7446), the lowercase "resourcegroups" and "microsoft.keyvault" are returned for the value of "VaultName" property in response body.
Actual:
` "vaultName": "/subscriptions/xxx/resourcegroups/test-devtestlabs/providers/microsoft.keyvault/vaults/testDtl",`
Expected:
` "vaultName": "/subscriptions/xxx/resourceGroups/test-devtestlabs/providers/Microsoft.KeyVault/vaults/testDtl",`
Contributor guide
Research direction
Open specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json around the Labs_Get operation at line 7446, focusing on the VaultName property. Reproduce the response and compare its casing with the contract; done means the reported casing discrepancy is resolved and the API specification or validation reflects the result.
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
- 38/100