microsoftgraph / msgraph-metadata

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

Non-supported paths are being generated in OpenAPI description #543

Open maisarissi opened 10 months ago

maisarissi commented 10 months ago

Endpoints like /groups/{group-id}/team/channels/{channel-id}/messages and all its nested resources, like /groups/{group-id}/team/channels/{channel-id}/messages/{message-id} or /groups/{group-id}/team/channels/{channel-id}/messages/{message-id}/hostedContents and so forth doesn't seem to be supported.

image

Even though they are being generated in the OpenAPI description:

image

Calling the API directly from teams/{teams-id}/channels/{channel-id}/messages (not groups) and other nested resources works just fine.

image

Because of that, we are also generating cmdlets for non-supported paths in our PowerShell module:

image

The only non-supported path under /teams/... I've noticed is teams/{teams-id}/channels/{channel-id}/messages/$count.

image

image