[zanata/zanata-api] f88e8e: Ensure that all MediaType annotations put XML befo...
GitHub
noreply at github.com
Tue Oct 29 05:36:10 UTC 2013
Branch: refs/heads/change-mediatype-order
Home: https://github.com/zanata/zanata-api
Commit: f88e8e557edb6cd02bcbc214a9d7f08fef69b6b3
https://github.com/zanata/zanata-api/commit/f88e8e557edb6cd02bcbc214a9d7f08fef69b6b3
Author: David Mason <dr.d.mason at gmail.com>
Date: 2013-10-28 (Mon, 28 Oct 2013)
Changed paths:
M zanata-common-api/src/main/java/org/zanata/rest/client/ITranslatedDocResource.java
M zanata-common-api/src/main/java/org/zanata/rest/client/IVersionResource.java
M zanata-common-api/src/main/java/org/zanata/rest/enunciate/TranslatedDocResource.java
M zanata-common-api/src/main/java/org/zanata/rest/service/TranslatedDocResource.java
M zanata-common-api/src/main/java/org/zanata/rest/service/VersionResource.java
Log Message:
-----------
Ensure that all MediaType annotations put XML before json.
The cli client was requesting json for version because it was
first in the list, then was not prepared to parse it. This
change ensures that the client will request xml to avoid the
json parsing issue.
More information about the zanata-commits
mailing list