[
https://issues.apache.org/jira/browse/OLINGO-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15492768#comment-15492768
]
Ashan Bakmeedeniya commented on OLINGO-1019:
--------------------------------------------
[~rareddy] Did you mean a reference implementation, I found this [1], in there
visit navigation link “Products(0)/ProductDetail” , which will return a 204 no
content response.
See : [1]
http://services.odata.org/V4/OData/OData.svc/Products(0)?$format=application/json;odata.metadata=full
> Navigation Links not explicitly added to entity are not shown in JSON
> "metadata=full" response
> ----------------------------------------------------------------------------------------------
>
> Key: OLINGO-1019
> URL: https://issues.apache.org/jira/browse/OLINGO-1019
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.2.0
> Reporter: Ashan Bakmeedeniya
> Assignee: Ramesh Reddy
> Fix For: (Java) V4 4.4.0
>
> Attachments: OLINGO-1019.patch
>
>
> Navigation links not added to entity explicitly are not serialized in the
> json response when client request "odata.metadata=full".
> In ODataXmlSerializer even if navigation links are not explicitly added to
> the entity, they are serialized to response. Hence, one would expect similar
> behavior with ODataJsonSerializer as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)