[jbosstools-issues] [JBoss JIRA] (JBIDE-14965) Forge: REST Endpoints From Entities - default to JSON
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Thu Jun 27 08:00:22 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785595#comment-12785595 ]
Max Rydahl Andersen commented on JBIDE-14965:
---------------------------------------------
isn't it bad form to set this specific form ?
isn't @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML}) better to allow most if not all interesting clients ?
> Forge: REST Endpoints From Entities - default to JSON
> -----------------------------------------------------
>
> Key: JBIDE-14965
> URL: https://issues.jboss.org/browse/JBIDE-14965
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: forge
> Affects Versions: 4.1.0.Beta2
> Reporter: Burr Sutter
> Assignee: Koen Aers
> Fix For: 4.1.0.CR1
>
>
> The current REST generation defaults to @Produces("application/xml")
> It should default to
> @Produces(MediaType.APPLICATION_JSON)
> or "application/json"
> To better support HTML5/jQuery style clients
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list