]
Radoslav Rábara closed JBIDE-17801.
-----------------------------------
Verified with JBDS 8.0.0.CR1-v20140831-0335-B201
JAX-RS validation: Bogus warning for parameter whose type is an
enumeration
---------------------------------------------------------------------------
Key: JBIDE-17801
URL:
https://issues.jboss.org/browse/JBIDE-17801
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.2.0.Beta2
Reporter: Clovis Seragiotto
Assignee: Xavier Coulon
Fix For: 4.2.0.CR1
The JAX-RS validation wrongly complains about the type of the parameter when it is an
enumeration defined in the same class of the resource.
"The type 'Resources.InstanceType' is not valid for this parameter. See
JAX-RS 2.0 Specification (section 3.2) for more information."
(the error message just telling that something is invalid doesn't help too much
either when you are trying to understand how the validation is reasoning)