[jbosstools-issues] [JBoss JIRA] (JBIDE-18516) JAX-RS Validator should report problem when @DefaultValue is used alone
Xavier Coulon (JIRA)
issues at jboss.org
Mon Oct 6 12:29:10 EDT 2014
Xavier Coulon created JBIDE-18516:
-------------------------------------
Summary: 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
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.1#6329)
More information about the jbosstools-issues
mailing list