Azure / Azure/azure-rest-api-specs

Invalid id format in RecoveryServices-privateLinkResources

Open
#27,129 0 comments 0 reactions 0 assignees View on GitHub
Mgmt Recovery Services Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

In the 2023-04-01 version of RecoveryServices.
Path:
https://github.com/Azure/azure-rest-api-specs/blob/a87d4d8ae70c7603c35a911f27efd774bd0d9ff8/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/vaults.json#L21
The response of `GET` operation is not correctly formatted.
The second resource's id is a number, a valid resource id should start with `/subscriptions/` or `/providers/`
Sample response content:
![image](https://github.com/Azure/azure-rest-api-specs/assets/140602263/04b39509-4893-4ce8-87a4-bf33fea07dd5)

Contributor guide

Open the contributing guide

Research direction

Start with the 2023-04-01 RecoveryServices definition in specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/vaults.json at the linked line. Inspect the GET response schema for RecoveryServices-privateLinkResources, especially the second resource's id, and compare it with the stated valid resource ID format. Done means the specification no longer permits or produces the numeric id shown in the sample response.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.