You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Sylvain BRENNE (Jira)" <ji...@apache.org> on 2022/04/04 14:14:00 UTC
[jira] [Created] (OLINGO-1562) Compatibility with standard consumer like EXCEL
Sylvain BRENNE created OLINGO-1562:
--------------------------------------
Summary: Compatibility with standard consumer like EXCEL
Key: OLINGO-1562
URL: https://issues.apache.org/jira/browse/OLINGO-1562
Project: Olingo
Issue Type: Question
Affects Versions: (Java) V4 4.9.0
Reporter: Sylvain BRENNE
Hi.
Into the ServiceDocumentJsonSerializer.java wich is called by the ODataJsonSerializer, there is no way to provide options to be compatible with Excel... so no way to force to write the "kind" property of an EntitySet into the response to a query on "*****.svc/".
How it is possible to force the generation of the "kind" property without duplicate all the code of the ODataJsonSerializer and the ServiceDocumentJsonSerialier, or opening the result of the Json builted to append the kind property on EntitySet ?"
Expected by Excel :
{
"@odata.context": "https://services.odata.org/V4/Northwind/Northwind.svc/$metadata",
"value": [
{ "name": "Categories", "kind": "EntitySet", "url": "Categories" }
,
{ ....
Provided by Olingo :
{
"@odata.context": "https://services.odata.org/V4/Northwind/Northwind.svc/$metadata",
"value": [
{ "name": "Categories", "url": "Categories" }
,
{....
Thanks
--
This message was sent by Atlassian Jira
(v8.20.1#820001)