@Test
public void testMultipleGenericClasses() throws Exception {

  @Api
  class GenFoo extends GenBars<Foo> {}
  @Api
  @ApiClass(resource = "resource2")
  class GenBar extends GenBars<Bar> {}
  String apiConfigSource = g.generateConfig(GenFoo.class, GenBar.class).get("myapi-v1.api");
}