diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java index 7c9a0d4..2d83e23 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java @@ -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, @@ -166,7 +166,7 @@ public class Access { } /* - * e.g. GET /resource-registry/access/schema/ContactFacet? polymorphic=true + * e.g. GET /resource-registry/access/schema/ContactFacet?polymorphic=true */ @GET @Path(AccessPath.SCHEMA_PATH_PART + "/{" + TYPE_PATH_PARAM + "}")