[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
Tue May 29 13:35:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696917#comment-12696917 ] 

Brian Fitzpatrick commented on JBIDE-12027:
-------------------------------------------

Well, this is actually an issue with how the parms are being rendered in the URL... Instead of this:

http://localhost:8080/jboss-as-kitchensink/rest/members/diffparms/{param1};param2={java.lang.String}?param3={param3:java.lang.String=default3}

It should probably be this:

http://localhost:8080/jboss-as-kitchensink/rest/members/diffparms/{param1:java.lang.String=default1};param2={java.lang.String:java.lang.String=default2}?param3={param3:java.lang.String=default3}
                
> 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: Brian Fitzpatrick
>             Fix For: 3.3.0.CR1, 3.3.0.Final
>
>         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