@Test
public void testBareRemoveAndDelete() throws Exception {

  String apiConfigSource = g.generateConfig(Endpoint.class).get("myapi-v1.api");
  ObjectNode root = objectMapper.readValue(apiConfigSource, ObjectNode.class);
  // if we have no other clue, we should just use "remove" or "delete" as the REST path
  assertEquals(
      "remove/{id}", root.path("methods").path("myapi.endpoint.remove").path("path").asText());
  assertEquals(
      "delete/{id}", root.path("methods").path("myapi.endpoint.delete").path("path").asText());
}