[jbosstools-issues] [JBoss JIRA] (JBIDE-12027) DefaultValue annotation values are not taken into account in JAX-RS REST Web Services explorer

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Mon Jul 30 16:55:08 EDT 2012


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

Brian Fitzpatrick reassigned JBIDE-12027:
-----------------------------------------

    Assignee: Xavier Coulon  (was: Brian Fitzpatrick)


Hey Xavier, this seems to be an issue with the URL rendering for JAX-RS methods. When using the example in the "steps to reproduce" section of the JIRA, I'm seeing this:
/customers/{param1};param2={java.lang.String}?param3={param3:java.lang.String=default3}

When I think it should be:
/customers/{param1 = default1};param2={java.lang.String = default2}?param3={param3:java.lang.String=default3}

I'm guessing I'm off on the example of what it should be, but the defaults for the Path and MatrixParam annotated parameters aren't showing up in the URL.

Any ideas?
                
> DefaultValue annotation values are not taken into account in JAX-RS REST Web Services explorer
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12027
>                 URL: https://issues.jboss.org/browse/JBIDE-12027
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.3.0.CR1
>            Reporter: Jaroslav Jankovič
>            Assignee: Xavier Coulon
>             Fix For: 3.3.2, 3.4.x
>
>         Attachments: default_values.png
>
>
> I tried using @DefaultValue with @QueryParam, @MatrixParam and @PathParam. Only when using with @QueryParam, URL in JAX-RS explorer is computed correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list