Azure / Azure/azure-rest-api-specs
"bad" etag value in GET /Microsoft.RecoveryServices/vaults
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
It seems there is a messed up etag in https://learn.microsoft.com/en-us/rest/api/recoveryservices/vaults/list-by-resource-group?tabs=HTTP#code-try-0
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults?api-version=2023-04-01
I am guessing you try to derive an etag from datetime, but it actually shows:
"etag": "W/\"datetime'2017-11-22T11%3A05%3A19.907Z'\"",
even in your sample response.
I am guessing it technically works because it is also a string, but I don't think you meant to do that :)
Greetings
Klaas
Contributor guide
Research direction
Start with the linked Microsoft Recovery Services vaults list-by-resource-group REST example and locate the corresponding source specification in this repository. Compare the published ETag example with the issue's report, then verify the corrected specification or sample remains valid and no longer shows the reported value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100