Fixing documentation

This commit is contained in:
Luca Frosini 2022-09-30 15:27:59 +02:00
parent 957a36cc21
commit 284e9f9ad8
1 changed files with 1 additions and 2 deletions

View File

@ -148,9 +148,8 @@ public class Profile extends BaseREST implements org.gcube.gcat.api.interfaces.P
*/ */
@GET @GET
@Path("/{" + PROFILE_NAME_PARAMETER + "}") @Path("/{" + PROFILE_NAME_PARAMETER + "}")
@Produces({MediaType.APPLICATION_XML})
@StatusCodes ({ @StatusCodes ({
@ResponseCode ( code = 200, condition = "The pprofile exists.") @ResponseCode ( code = 200, condition = "The profile exists.")
}) })
@Override @Override
public String read(@PathParam(PROFILE_NAME_PARAMETER) String name) { public String read(@PathParam(PROFILE_NAME_PARAMETER) String name) {