Fixed API

This commit is contained in:
Luca Frosini 2022-09-30 15:37:44 +02:00
parent ba900171f1
commit 5c2f8dd779
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ public class Profile extends BaseREST implements org.gcube.gcat.api.interfaces.P
*/
@GET
@Path("/{" + PROFILE_NAME_PARAMETER + "}")
@Produces(MediaType.APPLICATION_XML)
@Produces({MediaType.MEDIA_TYPE_WILDCARD, GCatConstants.APPLICATION_JSON_CHARSET_UTF_8})
@StatusCodes ({
@ResponseCode ( code = 200, condition = "The profile exists.")
})