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

Add annotations to enable generation of `PUT` and `PATCH` to the path `.../claimsPolicy` #660

Open irvinesunday opened 3 months ago

irvinesunday commented 3 months ago

The annotation that needs to be added:

<NavigationProperty Name="claimsPolicy" Type="graph.customClaimsPolicy" ContainsTarget="true">
  <Annotation Term="Org.OData.Capabilities.V1.UpdateRestrictions">
    <Record>
      <PropertyValue Property="UpdateMethod">
        <EnumMember>Org.OData.Capabilities.V1.HttpMethod/PATCH Org.OData.Capabilities.V1.HttpMethod/PUT </EnumMember>
      </PropertyValue>
    </Record>
  </Annotation>
</NavigationProperty>
marabooy commented 3 months ago

This can now be closed as the annotation was added recently @irvinesunday https://github.com/microsoftgraph/msgraph-metadata/pull/662