return answer;
}
@Path("templates")
@POST
@Consumes({"application/json", "application/yaml"})
<BUG>public String createTemplate(@PathParam("namespace") String namespace, Template entity) throws Exception {
</BUG>
String name = KubernetesHelper.getName(entity);
<BUG>return updateNamed(namespace, name, entity);
}</BUG>
@GET

return answer;
}
@Path("templates")
@POST
@Consumes({"application/json", "application/yaml"})
public void createTemplate(@PathParam("namespace") String namespace, Template entity) throws Exception {
String name = KubernetesHelper.getName(entity);
updateNamed(namespace, name, entity);
}
@GET
