File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 969969 </xsl : element >
970970 </xsl : element >
971971 </xsl : element >
972+ <!-- Add readRestcitions to Instances through annotations. Instances is readble, but not indexable or readableByKey-->
972973 <xsl : call-template name =" ReadRestrictionsTemplate" >
973974 <xsl : with-param name =" readable" >true</xsl : with-param >
974975 <xsl : with-param name =" readableByKey" >false</xsl : with-param >
975976 </xsl : call-template >
976977 <xsl : call-template name =" IndexableByKeyTemplate" >
977978 <xsl : with-param name =" indexableByKey" >false</xsl : with-param >
978- </xsl : call-template >
979+ </xsl : call-template >
979980 </xsl : copy >
980981 </xsl : template >
981982
983+ <!-- Add readRestcitions to CalendarView through annotations. CalendarView is readble, but not indexable or readableByKey-->
984+ <!-- https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Capabilities.V1.md#ReadByKeyRestrictionsType-->
985+ <!-- https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Capabilities.V1.md#defaultcapabilitiestype-->
982986 <xsl : template match =" edm:Schema[@Namespace='microsoft.graph']/edm:EntityType[@Name='bookingBusiness']/edm:NavigationProperty[@Name='calendarView']|
983987 edm:Schema[@Namespace='microsoft.graph']/edm:EntityType[@Name='calendar']/edm:NavigationProperty[@Name='calendarView']|
984988 edm:Schema[@Namespace='microsoft.graph']/edm:EntityType[@Name='group']/edm:NavigationProperty[@Name='calendarView']|
994998 </xsl : call-template >
995999 </xsl : copy >
9961000 </xsl : template >
997-
1001+ <!-- Remove exceptionOccurrences from all URI and navigation paths by adding NavigrationRestriction annotations-->
1002+ <!-- https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Capabilities.V1.md#navigationrestrictionstype-->
9981003 <xsl : template match =" edm:Schema[@Namespace='microsoft.graph']/edm:EntityType[@Name='event']/edm:NavigationProperty[@Name='exceptionOccurrences']" >
9991004 <xsl : copy >
10001005 <xsl : copy-of select =" @* | node()" />
You can’t perform that action at this time.
0 commit comments