[jbosstools-issues] [JBoss JIRA] (JBIDE-18516) JAX-RS Validator should report problem when @DefaultValue is used alone
Marián Labuda (JIRA)
issues at jboss.org
Thu Nov 27 04:44:40 EST 2014
[ https://issues.jboss.org/browse/JBIDE-18516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marián Labuda updated JBIDE-18516:
----------------------------------
Labels: jax-rs (was: )
> JAX-RS Validator should report problem when @DefaultValue is used alone
> -----------------------------------------------------------------------
>
> Key: JBIDE-18516
> URL: https://issues.jboss.org/browse/JBIDE-18516
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.2.0.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.0.Alpha1
>
>
> If a method parameter is annotated with {{@DefaultValue}} but has _no_ {{@QueryParam}} (or similar) annotation, then the application will most certainly fail with an error message such as:
> {code}
> failed to execute: javax.ws.rs.NotSupportedException: Could not find message body reader for type: int of content type: */*
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbosstools-issues
mailing list