[jboss-jira] [JBoss JIRA] (WFLY-11566) ConstraintDeclarationException on JAX-RS/EJB Methods with List/Set query parameter

Alexander Wagner (Jira) issues at jboss.org
Mon Jan 7 07:43:00 EST 2019


Alexander Wagner created WFLY-11566:
---------------------------------------

             Summary: ConstraintDeclarationException on JAX-RS/EJB Methods with List/Set query parameter
                 Key: WFLY-11566
                 URL: https://issues.jboss.org/browse/WFLY-11566
             Project: WildFly
          Issue Type: Bug
          Components: REST
    Affects Versions: 15.0.1.Final, 14.0.0.Final
            Reporter: Alexander Wagner
            Assignee: Alessio Soldano


Like described in the thread https://developer.jboss.org/thread/278822 you got an exception  if you call methods on JAX-RS endpoints which are also e.g. a stateless EJB and have Set or List as query parameters.

As a workaround we use the "@Context UriInfo info" as parameter an read the parameter manually. As a downside this parameters are missing than in automated api generation with e.g. swagger.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list