From 7f96fb5a3c0b17fb82d898df5f74eb099f99ef7f Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Wed, 20 Sep 2023 18:28:02 +0200 Subject: [PATCH] ODATA-1385 (#223) --- vocabularies/Org.OData.Capabilities.V1.json | 5 ++++ vocabularies/Org.OData.Capabilities.V1.md | 27 +++++++++++---------- vocabularies/Org.OData.Capabilities.V1.xml | 3 +++ 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/vocabularies/Org.OData.Capabilities.V1.json b/vocabularies/Org.OData.Capabilities.V1.json index c373c21e..3654de7c 100644 --- a/vocabularies/Org.OData.Capabilities.V1.json +++ b/vocabularies/Org.OData.Capabilities.V1.json @@ -1323,6 +1323,11 @@ "ReadRestrictionsType": { "$Kind": "ComplexType", "$BaseType": "Capabilities.ReadRestrictionsBase", + "TypecastSegmentSupported": { + "$Type": "Edm.Boolean", + "$DefaultValue": true, + "@Core.Description": "Entities of a specific derived type can be read by specifying a type-cast segment" + }, "ReadByKeyRestrictions": { "$Type": "Capabilities.ReadByKeyRestrictionsType", "$Nullable": true, diff --git a/vocabularies/Org.OData.Capabilities.V1.md b/vocabularies/Org.OData.Capabilities.V1.md index 01a293c4..682e6878 100644 --- a/vocabularies/Org.OData.Capabilities.V1.md +++ b/vocabularies/Org.OData.Capabilities.V1.md @@ -83,9 +83,9 @@ Term|Type|Description [AnnotationValuesInQuerySupported](./Org.OData.Capabilities.V1.xml#L890:~:text=Supports annotation values within system query options [ModificationQueryOptions](./Org.OData.Capabilities.V1.xml#L894:~:text=Support for query options with modification requests (insert, update, action invocation) [ReadRestrictions](./Org.OData.Capabilities.V1.xml#L918:~:text=Restrictions for retrieving a collection of entities, retrieving a singleton instance. -[CustomHeaders](./Org.OData.Capabilities.V1.xml#L957:~:text=Custom headers that are supported/required for the annotated resource ([Example](./Org.OData.Capabilities.V1.xml#L959)) -[CustomQueryOptions](./Org.OData.Capabilities.V1.xml#L983:~:text=Custom query options that are supported/required for the annotated resource ([Example](./Org.OData.Capabilities.V1.xml#L986))
If the entity container is annotated, the query option is supported/required by all resources in that container. -[MediaLocationUpdateSupported](./Org.OData.Capabilities.V1.xml#L1035:~:text=Stream property or media stream supports update of its media edit URL and/or media read URL +[CustomHeaders](./Org.OData.Capabilities.V1.xml#L960:~:text=Custom headers that are supported/required for the annotated resource ([Example](./Org.OData.Capabilities.V1.xml#L962)) +[CustomQueryOptions](./Org.OData.Capabilities.V1.xml#L986:~:text=Custom query options that are supported/required for the annotated resource ([Example](./Org.OData.Capabilities.V1.xml#L989))
If the entity container is annotated, the query option is supported/required by all resources in that container. +[MediaLocationUpdateSupported](./Org.OData.Capabilities.V1.xml#L1038:~:text=Stream property or media stream supports update of its media edit URL and/or media read URL ## [ConformanceLevelType](./Org.OData.Capabilities.V1.xml#L118:~:text=Only valid when applied to a collection. If a property of `ReadByKeyRestrictions` is not specified, the corresponding property value of `ReadRestrictions` applies. +[TypecastSegmentSupported](./Org.OData.Capabilities.V1.xml#L951:~:text=Only valid when applied to a collection. If a property of `ReadByKeyRestrictions` is not specified, the corresponding property value of `ReadRestrictions` applies. -## [CustomParameter](./Org.OData.Capabilities.V1.xml#L1014:~:text= -## [HttpResponse](./Org.OData.Capabilities.V1.xml#L1040:~:text= + + +