Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12029

No type for PathParam parameters in JAX-RS REST Web Services explorer

    Details

    • Steps to Reproduce:
      Hide

      STEP: Create dynamic web project with JAX-RS support
      STEP: Create JAX-RS web service with PathParam annotation:

      Service.java
      @GET
      @Path("/{id}")
      public void method(@PathParam("id") String id) {
      
      }
      

      STEP: Click on context menu (Run As -> Run on Server) of this GET method in JAX-RS explorer, Web Service Tester view should be visible now
      STEP: Click Invoke Button
      ASSERT: type of "id" parameter is set to String
      FAIL: type of "id" parameter is not set

      Show
      STEP: Create dynamic web project with JAX-RS support STEP: Create JAX-RS web service with PathParam annotation: Service.java @GET @Path( "/{id}" ) public void method(@PathParam( "id" ) String id) { } STEP: Click on context menu (Run As -> Run on Server) of this GET method in JAX-RS explorer, Web Service Tester view should be visible now STEP: Click Invoke Button ASSERT: type of "id" parameter is set to String FAIL: type of "id" parameter is not set
    • Release Notes Text:
      Hide
      The JAX-RS Endpoints in the project explorer have a new template in which the type of the path parameters is always displayed (even for non regexp):

      See JBIDE-10539
      Show
      The JAX-RS Endpoints in the project explorer have a new template in which the type of the path parameters is always displayed (even for non regexp): See JBIDE-10539

      Description

      I think, it would be useful, if user knows the type of parameter of PathParam annotation. At least in "numerical-nonnumerical" cases.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xcoulon Xavier Coulon
                  Reporter:
                  jjankovi Jaroslav Jankovič
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: