- return a Content-Type: application/json header for the generate artifacts endpoint
Issue-ID: AAI-3828
Change-Id: Ic5ab0f40e23a5efedb71c4b3d98aff6e523329b8
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
<groupId>org.onap.aai</groupId>
<artifactId>babel</artifactId>
- <version>1.12.3-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>aai-babel</name>
* @return
*/
private Response buildResponse(Status status, String entity) {
- return Response.status(status).entity(entity).type(MediaType.TEXT_PLAIN).build();
+ return Response.status(status).entity(entity).type(MediaType.APPLICATION_JSON).build();
}
}