wadl
  1. wadl
  2. WADL-46

Instead of having duplicate get methods when there is no id, use the path

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows XP

      Description

      Instead of generating multiple stubs/interfaces with just "Response get" methods, generate something more useful using the @Path

      I.E:
      Instead of:
      @GET
      @Produces(

      {"application/xml", "application/json" })
      @Path("/current/locationType/{locationType}")
      Response get(@PathParam("locationType") String locationType);

      Generate:
      @GET
      @Produces({"application/xml", "application/json" }

      )
      @Path("/current/locationType/

      {locationType}

      ")
      Response getCurrentLocationType(@PathParam("locationType") String locationType);

        Activity

        Hide
        gdavison added a comment -

        Fair comment, I will look into it.

        Show
        gdavison added a comment - Fair comment, I will look into it.

          People

          • Assignee:
            gdavison
            Reporter:
            sirgeek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: