Azure / Azure/azure-rest-api-specs
`recoveryservicessiterecovery@2022-10-01`: value of `fabricObjectId` in `ReplicationProtectedItems_Get` has been lower cased
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
[`ReplicationProtectedItems_Get`](https://github.com/Azure/azure-rest-api-specs/blob/1b33e81bbdc28fcd6644a1315b8d7b1b6d030590/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L2883) returns lower cased [`fabricObjectId`](https://github.com/Azure/azure-rest-api-specs/blob/1b33e81bbdc28fcd6644a1315b8d7b1b6d030590/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L9086)
e.g.:
what we PUT( by calling [`ReplicationProtectedItems_Create`](https://github.com/Azure/azure-rest-api-specs/blob/1b33e81bbdc28fcd6644a1315b8d7b1b6d030590/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#LL2949C25-L2949C57) with [`fabricObjectId`](https://github.com/Azure/azure-rest-api-specs/blob/1b33e81bbdc28fcd6644a1315b8d7b1b6d030590/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L8474)):
```
/subscriptions/*******/resourceGroups/acctestrg-recovery-230612031553069941-1/providers/Microsoft.Compute/virtualMachines/vm-230612031553069941
```
what get from GET:
```
/subscriptions/*******/resourceGroups/acctestRG-recovery-230612031553069941-1/providers/Microsoft.Compute/virtualMachines/vm-230612031553069941
```
the name of resource group has been lower cased in response.
Contributor guide
Research direction
Start with specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json, examining ReplicationProtectedItems_Get, ReplicationProtectedItems_Create, and the fabricObjectId definitions at the linked lines. Compare the supplied PUT and GET resource IDs and determine whether the casing behavior is represented correctly in the API specification. Done means the casing discrepancy has a documented resolution in the specification issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100