Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON-HOME should use queryParameter for uriTemplates #79

Open
pith opened this issue Jul 21, 2015 · 0 comments
Open

JSON-HOME should use queryParameter for uriTemplates #79

pith opened this issue Jul 21, 2015 · 0 comments
Labels

Comments

@pith
Copy link
Member

pith commented Jul 21, 2015

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"
    }
  },
  ...
}
@pith pith added the bug label Jul 21, 2015
@pith pith self-assigned this Jul 21, 2015
@pith pith modified the milestone: 2.0.0 Final Jul 21, 2015
@adrienlauer adrienlauer removed this from the 2.0.0 Final milestone Jul 27, 2015
@adrienlauer adrienlauer removed the ready label Oct 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants