OpenAPI.NET.OData
OpenAPI.NET.OData copied to clipboard
Capability annotations are ignored for certain nav properties
Give a CSDL with the following capability annotations:
<Annotations Target="microsoft.graph.user/photo">
<Annotation Term="Org.OData.Capabilities.V1.ChangeTracking">
<Record>
<PropertyValue Property="Supported" Bool="false" />
</Record>
</Annotation>
<Annotation Term="Org.OData.Capabilities.V1.DeleteRestrictions">
<Record>
<PropertyValue Property="Deletable" Bool="false" />
</Record>
</Annotation>
<Annotation Term="Org.OData.Capabilities.V1.ExpandRestrictions">
<Record>
<PropertyValue Property="Expandable" Bool="false" />
</Record>
</Annotation>
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
<Record>
<PropertyValue Property="Insertable" Bool="false" />
</Record>
</Annotation>
<Annotation Term="Org.OData.Capabilities.V1.SearchRestrictions">
<Record>
<PropertyValue Property="Searchable" Bool="false" />
</Record>
</Annotation>
</Annotations>
Current Behavior
We generate an OpenAPI document with the following operations:

Expected Behavior
