Fixing default content-type
This commit is contained in:
parent
4b54aa3103
commit
53be7fcd10
|
@ -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"]
|
||||
*/
|
||||
@GET
|
||||
@Produces(GCatConstants.APPLICATION_JSON_CHARSET_UTF_8)
|
||||
@Produces({GCatConstants.APPLICATION_JSON_CHARSET_UTF_8, "*/*"})
|
||||
@StatusCodes ({
|
||||
@ResponseCode ( code = 200, condition = "The request succeeded.")
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue