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

`Add` and `Remove` odata actions bound to `Collection(graph.site)` missing in openApi description #572

Closed andrueastman closed 8 months ago

andrueastman commented 9 months ago

Following the resolution of https://github.com/microsoft/OpenAPI.NET.OData/issues/232

We need to add ExplicitOperationBindings and RequiresExplicitBinding annotations for the non contained paths followedSites and sites(containmented removed by transform) to allow for the odata actions Add and Remove to show up on the metadata for the type Collection(graph.site)

Change should be similar to the deletedItems change in the PR at https://github.com/microsoftgraph/msgraph-metadata/pull/451/files

andrueastman commented 9 months ago

Fixing this will fix https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1007