@Test
public void testCustomSerialization_renamedProperty() throws Exception {

  String apiConfigSource = g.generateConfig(SerializerTestEndpoint.class).get("myapi-v1.api");
  ObjectNode root = objectMapper.readValue(apiConfigSource, ObjectNode.class);
  JsonNode schemas = root.path("descriptor").path("schemas");
  verifyObjectPropertySchema(schemas.path("SerializerTestBean"), "baz", "string");
}