microsoftgraph / msgraph-metadata

Microsoft Graph metadata captured and used for generating client library code files.
https://graph.microsoft.com
MIT License
107 stars 33 forks source link

Operations for `/users/{user-id}` contains links to intune instead of user #657

Open MartinM85 opened 4 months ago

MartinM85 commented 4 months ago

GET, PATCH and DELETE operations for /users/{user-id} path contains weird links to the documentation

https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0

Correct ones are https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0

It can be confusing for developers who are not familiar with the Graph API.

I know that everything is auto-generated, but some validations would be really useful to avoid such problems.