Madhan Neethiraj created RANGER-3744:
----------------------------------------
Summary: 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
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)