@Test
public void testServiceWithOverridingInheritance() throws Exception {

  String apiConfigSource =
      g.generateConfig(SubclassedOverridingEndpoint.class).get("myapi-v2.api");
  JsonNode root = objectMapper.readValue(apiConfigSource, JsonNode.class);
  verifySubclassedOverridingEndpoint(SubclassedOverridingEndpoint.class, root);
  verifySubclassedOverridingEndpointSchema(SubclassedOverridingEndpoint.class, root);
}