You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (Jira)" <ji...@apache.org> on 2020/03/19 05:09:00 UTC
[jira] [Closed] (OLINGO-1437) Add additional properties to OData
Server Error
[ 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)