Fixed media type
This commit is contained in:
parent
5c2f8dd779
commit
b7b58971a5
|
@ -148,7 +148,7 @@ public class Profile extends BaseREST implements org.gcube.gcat.api.interfaces.P
|
|||
*/
|
||||
@GET
|
||||
@Path("/{" + PROFILE_NAME_PARAMETER + "}")
|
||||
@Produces({MediaType.MEDIA_TYPE_WILDCARD, GCatConstants.APPLICATION_JSON_CHARSET_UTF_8})
|
||||
@Produces({MediaType.APPLICATION_XML, GCatConstants.APPLICATION_JSON_CHARSET_UTF_8})
|
||||
@StatusCodes ({
|
||||
@ResponseCode ( code = 200, condition = "The profile exists.")
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue