Fixed doc

This commit is contained in:
Luca Frosini 2022-09-27 16:39:22 +02:00
parent 2b4a7bbf26
commit a6f7409a4d
1 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ public class Item extends REST<CKANPackage> implements org.gcube.gcat.api.interf
@GET @GET
@Produces(GCatConstants.APPLICATION_JSON_CHARSET_UTF_8) @Produces(GCatConstants.APPLICATION_JSON_CHARSET_UTF_8)
@StatusCodes ({ @StatusCodes ({
@ResponseCode ( code = 200, condition = "The request succeded") @ResponseCode ( code = 200, condition = "The request succeeded.")
}) })
/* Catalogue-Member is not added to VRE members and is assumed as the default role in the catalogue for the VRE members. So we can't enforce /* Catalogue-Member is not added to VRE members and is assumed as the default role in the catalogue for the VRE members. So we can't enforce
* @AuthorizationControl(allowedRoles={Role.CATALOGUE_MEMBER, Role.CATALOGUE_EDITOR, Role.CATALOGUE_ADMIN, Role.CATALOGUE_MANAGER}, exception=NotAuthorizedException.class) * @AuthorizationControl(allowedRoles={Role.CATALOGUE_MEMBER, Role.CATALOGUE_EDITOR, Role.CATALOGUE_ADMIN, Role.CATALOGUE_MANAGER}, exception=NotAuthorizedException.class)
@ -413,7 +413,7 @@ public class Item extends REST<CKANPackage> implements org.gcube.gcat.api.interf
@Path("/{" + ITEM_ID_PARAMETER + "}") @Path("/{" + ITEM_ID_PARAMETER + "}")
@Produces(GCatConstants.APPLICATION_JSON_CHARSET_UTF_8) @Produces(GCatConstants.APPLICATION_JSON_CHARSET_UTF_8)
@StatusCodes ({ @StatusCodes ({
@ResponseCode ( code = 200, condition = "The item exists") @ResponseCode ( code = 200, condition = "The item exists.")
}) })
@Override @Override
/* Catalogue-Member is not added to VRE members and is assumed as the default role in the catalogue for the VRE members. So we can't enforce /* Catalogue-Member is not added to VRE members and is assumed as the default role in the catalogue for the VRE members. So we can't enforce