[
https://issues.apache.org/jira/browse/OLINGO-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramya closed OLINGO-1437.
-------------------------
> Add additional properties to OData Server Error
> -----------------------------------------------
>
> Key: OLINGO-1437
> URL: https://issues.apache.org/jira/browse/OLINGO-1437
> Project: Olingo
> Issue Type: New Feature
> Reporter: Ramya
> Assignee: Ramya
> Priority: Major
>
> OData error response can contain some additional fields:
> @Common.longtextUrl
> @Common.numericSeverity (only within details section)
> @Common.additionalTargets
> Olingo does not provide a way to specify these additional properties in
> either ODataServerError or ODataErrorDetail.
> Implementation detail:
> Add an API setAdditionalProperties and getAdditionalProperties in
> ODataServerError and ODataErrorDetail which allows to add these additional
> properties.
> The ODataErrorSerializer should serialize this additional properties and form
> a correct json response.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)