[
https://issues.apache.org/jira/browse/RANGER-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-3744:
-------------------------------------
Attachment: RANGER-3744.patch
> Produces annotation ordering should be consistent: json, xml
> ------------------------------------------------------------
>
> Key: RANGER-3744
> URL: https://issues.apache.org/jira/browse/RANGER-3744
> Project: Ranger
> Issue Type: Improvement
> Components: admin
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Minor
> Attachments: RANGER-3744.patch
>
>
> Ranger REST APIs that return data have @Produces annotation to specify the
> format of the value returned. Most APIs specify \{ json, xml } for this
> annotation, while few have the ordering reversed - \{ xml, json }. Given the
> first format listed is used when the caller doesn't specify specific format
> (in Accepts header), it will help for all APIs to have consistent order.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)