[jbosstools-issues] [JBoss JIRA] (JBIDE-17801) JAX-RS validation: Bogus warning for parameter whose type is an enumeration

Radoslav Rábara (JIRA) issues at jboss.org
Fri Sep 5 03:06:00 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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)



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the jbosstools-issues mailing list