Azure / Azure/azure-rest-api-specs
`recoveryservicesbackup`: `ProtectedItems_CreateOrUpdate` lacks `x-ms-long-running-operation`
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 37m
- Merged PRs (30d)
- 446
Description
It's an async operation per the description, so for the action [`ProtectedItems_CreateOrUpdate`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/bms.json#L1378), it should be marked with `"x-ms-long-running-operation": true,` like [this](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L4733)
Contributor guide
Research direction
Open specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/bms.json and locate ProtectedItems_CreateOrUpdate around line 1378. Compare its operation metadata with the referenced service.json example around line 4733, then add the missing long-running-operation declaration and verify the specification diff.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100