[
https://issues.apache.org/jira/browse/OLINGO-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048847#comment-16048847
]
Archana Rai commented on OLINGO-1125:
-------------------------------------
Hi,
You can pass the content type as "application/json;odata.metadata=none", this
will suppress @odata.type annotations in the generated payload.
As per the specification The odata.type annotation must appear in minimal or
full metadata if the type cannot be heuristically determined.
http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Toc372793049
Thanks,
Archana
> Ability to suppress @odata.type in the payload generated by Odata client
> ------------------------------------------------------------------------
>
> Key: OLINGO-1125
> URL: https://issues.apache.org/jira/browse/OLINGO-1125
> Project: Olingo
> Issue Type: Question
> Components: odata4-client
> Affects Versions: (Java) V4 4.3.0
> Reporter: VIJAYASIMHA R NAGA
>
> Is there a way we can suppress the @odata.type annotations in the payload
> generated by odata client ?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)