Fixed access rest path

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144258 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-02-24 12:22:29 +00:00
parent 26cde724ad
commit 4b89424f70
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ public class Access {
*/
@SuppressWarnings({ "rawtypes" })
@GET
@Path(AccessPath.INSTANCES_PATH_PART + "{" + TYPE_PATH_PARAM + "}")
@Path(AccessPath.INSTANCES_PATH_PART + "/" + "{" + TYPE_PATH_PARAM + "}")
@Produces(MediaType.APPLICATION_JSON)
public String getInstances(@PathParam(TYPE_PATH_PARAM) String type,
@QueryParam(AccessPath.POLYMORPHIC_PARAM) Boolean polymorphic,