Skip to content

JSON-HOME should use queryParameter for uriTemplates #79

Open
@pith

Description

@pith

Currently, JAX-RS query parameters are not taken into account when the resource href is built.

For instance how does a "catalog" resource should look like ?

  1. /products{?pageIndex, pageSize}
  2. /products?pageIndex=0&pageSize=10
  3. /products

For now it is the solution 3.

{
  "resources": {
    "catalog": {
      "hints": {
        "allow": [
          "GET"
        ],
        "formats": {
          "application/hal+json": "",
          "application/json": ""
        }
      },
      "href": "/rest/products"
    }
  },
  ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions