Fixing default content-type

This commit is contained in:
Luca Frosini 2023-02-28 15:44:25 +01:00
parent 4b54aa3103
commit 53be7fcd10
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ public class Item extends REST<CKANPackage> implements org.gcube.gcat.api.interf
* @responseExample application/json;charset=UTF-8 ["item0","items1",...,"item10"] * @responseExample application/json;charset=UTF-8 ["item0","items1",...,"item10"]
*/ */
@GET @GET
@Produces(GCatConstants.APPLICATION_JSON_CHARSET_UTF_8) @Produces({GCatConstants.APPLICATION_JSON_CHARSET_UTF_8, "*/*"})
@StatusCodes ({ @StatusCodes ({
@ResponseCode ( code = 200, condition = "The request succeeded.") @ResponseCode ( code = 200, condition = "The request succeeded.")
}) })