Organizational Research By

Surprising Reserch Topic

Question:Include possible values of @PathParam to WADL


We are using Jersey for RESTful API implementation utilizing its cool feature of automatic WADL generation.

Just as an example we have method

@GET
@Path("/{id}/{attribute}")
@Produces(MediaType.APPLICATION_JSON)
public Object getAttributeByID(@PathParam("id") long id, @PathParam("attribute") String attribute) {
....
}

This generates the following fragment in WADL:



Attribute can be name, type, size and we want not only to validate the value at runtime but also show it in generated wadl According to this document such feature should be supported by generating several tags
asked Sep 13, 2013 in ANDROID by android_master
edited Sep 12, 2013
0 votes
61 views



Related Hot Questions



Government Jobs Opening


...